Can I hide the error page in the panel?

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 :slight_smile:

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.

1 Like