I’m fairly sure I’ve shared the code to do just that on these forums already, but it involves modifying the core. I’ll see if I can track down the link.
Wanted to bump up this topic. Having this listed as a “page” in the panel is confusing. I suggest moving it’s contents to Site Options, or some other way to remove it as content. Confusing to client.
@louiswalch That’s a good idea, it moves the page out of the way why still leaving it’s contents editable if required. The template for the page could be called via a route.
I think it should still be a page in the content directory (for backwards compatibility and because it is a page), but maybe the error page (error or as defined by the error option) could be displayed by the Panel in a special view somewhere in the site options and hidden from the pages list.
In some matters it can be seen as a page. In other cases it can not.
Error is a page
Because it is placed in the content folder
Because it has a template
Because you can go to it with the url /error
Because it can be reached by the panel
Error is not a page
Because it’s a global thing. Everything that don’t match another page will have the error page. That way the error page is not just /error, it’s everything, except the other valid pages.
Because it’s not an valid info page. It have status 404 and is not supposed to be visited (in a perfect world)
There are more list items that tells us that error is a page but I still think it’s something in between. I would want it separated from the “normal” pages.
I fully agree. While it isn’t a normal page, it is still a page, but a special page even more than home. That’s why I think it should be moved to a special view in the Panel.
unfortunately “hide: true” does not work for me.
I use Kirby 2.3.2 and created a seperate blueprint.
I know that the correct blueprint is loaded because i set the icon to suitcase.
Edit: don’t think that’d work. I’m not sure why it’s not working for you sorry. Have you tried removing everything else (options and icon) and removing the empty spaces?
@zvaehn: next time, could you post your code as code blocks instead of a screenshot, please, it makes it a whole lot easier to test your code and correct it if necessary. Thank you!
Edit: Apart from that, I can’t reproduce your issue, not even with all those options set.