I'm using the latest CMS Made Simple 1.5.4 "Carolina".
The "showinmenu" default value is defined in Site Admin » Page Defaults » Show in Menu
I was hoping there is a way to define this value in the page templates.
ex:
1. The default setting for all pages is "show in menu: yes"
When the user creates a new page, this value will automatically be set to "yes"
2. The user creates a new page AND selects a different template.
By selecting this template the value for "show in menu" is "no" (not the general setting, just for this single page)
So the question is... can I specify the "showinmenu" value in the page templates by using some smarty code?
I found only one reference to this in a completely unrelated thread:
Code: Select all
array_push($ret,array(lang('showinmenu'),'<input type="checkbox" name="showinmenu"'.($this->mShowInMenu?' checked="true"':'')));Greetings,
Manuel


