Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Hi out there,
I hope you can help me and btw I hope I´m in the right forum :) :
I want a custom page which is a subclass of page to be by default not visible in menu.
There is a checkbox in the CMS called "Show in menus?" be deault this chebox is checked... but I don´t want that.
I think there should be a variable such as
static $is_visible_in_menus = false;
is there such a variable?
You can use the $defaults array.
static $defaults = array(
'ShowInMenus' => false
That´s exatly what I was looking for...
thank you :)