I am using the latest CMSMS and the included MenuManager along with the stock NCleanBlue template. However, I can find in it no code reference to the MenuManager template of "simple_navigation.tpl (read only)".
Am I looking in the wrong place for the relationship between parts? I would appreciate a little direction. Thank you.
Can't Find MenuManager Reference in Stock Template Code [Sol
Can't Find MenuManager Reference in Stock Template Code [Sol
Last edited by KitchM on Wed Mar 26, 2014 2:58 pm, edited 1 time in total.
Re: Can't Find MenuManager Reference in Stock Template Code
Usually, the templates will just use the plugin version of the tag:
{menu}
This will display all pages assigned to show in the menu using the template assigned as 'Default' in the Menu Manager.
{menu}
This will display all pages assigned to show in the menu using the template assigned as 'Default' in the Menu Manager.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: Can't Find MenuManager Reference in Stock Template Code
Thanks much.
Was there a change in the past from something that looked like this?:
{menu template='simple_navigation.tpl' collapse='1'}
Was there a change in the past from something that looked like this?:
{menu template='simple_navigation.tpl' collapse='1'}
Re: Can't Find MenuManager Reference in Stock Template Code
No. not recently. I think around 2006 or so we used {menu_manager ...} maybe.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: Can't Find MenuManager Reference in Stock Template Code
In the default template of the default theme that comes with a fresh install I have {menu loadprops=0 template='cssmenu_ulshadow.tpl'}. If you go into the MenuManager page and look at the list of menu templates you will see one marked as default. That one will always just be called with {menu}, without specific template parameter. If you make another template the default and you want to use the simple navigation somewhere you do need to add the parameter.
Re: Can't Find MenuManager Reference in Stock Template Code
Thank you all for the quick responses and clarification. That definitely solved my problem.
Re: Can't Find MenuManager Reference in Stock Template Code
I just thought I'd better add that the menu manager currently shows the following directions under help:
Special thanks to 10010110 for that detail about "default".
So my summation of the whole thing is that, at this point in time, one must start with the basic format of {menu} as an insertion point for the default menu template. If one must specify other than the default, then one uses {menu template='templatename.tpl'}, where templatename.tpl is either cssmenu.tpl, minimal_menu.tpl or simple_navigation.tpl. That is, unless one creates one's own menu template to add to that list.Now, you can insert it into your site with {menu template='Test Template'}. Note that the .tpl extension must be included if a file template is used.
Special thanks to 10010110 for that detail about "default".
Re: Can't Find MenuManager Reference in Stock Template Code
Right.
FYI: In that case, if you were to create your own template called, 'Mine', then you would not use the .tpl extension.That is, unless one creates one's own menu template to add to that list.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: Can't Find MenuManager Reference in Stock Template Code
Interesting. I did not know that.
Thank you very much.
Thank you very much.



