I’m experiencing this very strange problem, as well… It’s probably something stupid I’m doing, but I can’t work it out. Help!
Using Kirby 2.5.5. I have a page titled ‘Forgot Password’, which I don’t need to show up on the Panel. So, I’ve created a blueprint for it, titled ‘forgotpwd.yml’, that looks like this:
title: Forgot Password
deletable: false
pages: false
files: false
icon: key
hide: true
fields:
title:
label: Title
type: text
default: Forgot Password
text:
label: Text
type: textarea
Note that it has hide: true
at the top.
There is a content file for the page, which is titled ‘forgotpwd.txt’.
Title: Forgot Password
----
Text: sample text.
Unfortunately, the ‘Forgot Password’ page still shows up in the Panel!
Now, here is the interesting part: in the _‘site.yml’ blueprint for this site, I normally have pages: false
, as I don’t want the user to add any top-level pages to the site:
title: Site
pages: false
files:
sortable: true
fields:
[...]
If, however, I set pages: true
, then the Forgot Password pages disappears (hides), as it should! Of course, I can’t work with that, because that means that the user will be able to edit/manage pages again…
Turning pages: false
, makes the Forgot Password page appear again!..
What am I missing? Help!