Kirby 2.4.1: Hide a page in the panel with the options "hide: true"

Kirby 2.4.1: awesome work, thanks for this new Kirby version :slight_smile:

Just one question concerning the possibility to hide a page in the panel:
Does the options “hide: true” is suppose to works in the 2.4.1 version ?

I had this bug with the 2.4.0 and it still not working with 2.4.1 in my install.

Bastian wrote in the GitHub issue that this has been fixed. @bastianallgeier?

Just for information, I’ve just tried on a clean Kirby 2.4.1 install.

I’ve added the option “hide: true” in the “about” and “error” blueprint pages and I still see those two pages in the pages widget panel.

Sorry @gillesvauvarin, I can not follow you.

My blueprint “\site\blueprints\error.yml” on XAMPP/Win10 64bit with a fresh “Starterkit 2.4.1” looks:

title: Error

pages: false

hide: true

fields:
  title:
    label: Title
    type:  text

  intro:
    label: Intro
    type:  textarea

  text:
    label: Text
    type:  textarea

and this hides the page error (and with a simular blueprint “about.yml”) in the panel:

I think, your indentation in that line is not ok; the line with “hide: true” has to start in the first column (no leading space or tab).

Look for details at https://getkirby.com/docs/panel/blueprints/page-settings#hide-page, which is different from https://getkirby.com/docs/panel/blueprints/subpages-settings#hide-subpages.

Good luck!

You are right, thanks @anon77445132, my indentation was wrong!

Sorry for this mistake alert.

1 Like