Thanks for your help.
I figured out, that the file had a corrupt control-character and my editor displays only space, tabs and new line characters.
I guess this canceled the yaml parser.
Best, sven
Thanks for your help.
I figured out, that the file had a corrupt control-character and my editor displays only space, tabs and new line characters.
I guess this canceled the yaml parser.
Best, sven
Glad you figured it out
Yeah, the yaml parser is quite picky in what it accepts.
Still doesnโt work here (v2.4.1). Tried hide: true under title and under options: always visible.
title: startgame
options:
hide: true
fields:
title:
label: Title
type: text
title: startgame
hide: true
fields:
title:
label: Title
type: text
Iโm quite sure that this is not an option. Try this:
title: startgame
hide: true
fields:
title:
label: Title
type: text
I often mess that up myself. I bit inconvenience if I may say so.
UPDATE: I see now that you already tried that.
Your second example should work. This maybe an issue with the yaml parser? If you add another field, do you see it in the panel when you try to edit this page?
Make sure you only use 2 spaces for each indentation level and donโt have any control character.
I had the same problem: hide: true
didnโt work.
I found that when the site.yml
blueprint has the pages: false
option, the hide
option in the pages blueprint does not work. It works as intended with pages: default
.
Is it a bug?
(kirby 2.5.4)
Why would you set pages: false
if your site does in fact have pages? Does not seem to make sense.
It already has pages but the panel user is not allowed to create new pages. Should I do that another way?
You could limit the number of allowed pages (and disallow deleting of the others). Or use Panel permissions for user roles.