I have successfully altered a "standard" page layout to CMSms, but now im kunda stuck with the menus...
How for example do I ad a new menu (I guess its just to at the code in menu manager) and how do I call it from the template?
The css I use for my new template got the menu-styles in it...
Menu question
Re: Menu question
Just add {menu}
From manumanager help you'll find plenty of setting to alter it's behaviour.
From manumanager help you'll find plenty of setting to alter it's behaviour.
Re: Menu question
You mean from the template?
It is allready there, but how do I bind a menu to the {menu} and if I want several menus with different content?
It is allready there, but how do I bind a menu to the {menu} and if I want several menus with different content?
Re: Menu question
You can use as many {menu} tags as you like in your template, at various spots (top of content, sidebar, footer, etc.). What appears in the menu depends on what parameters you add to the menu tag, like:
{menu template='cssmenu.tpl' start_level='2' start_element='1.1' show_root_siblings='1'}
{menu template='simple_navigation.tpl' start_level='2' start_element="2.1" show_root_siblings='1'}
{menu template="footermenu" items="sitemap,contact,login,registration"}
As previously stated, the help for Menu Manager has quite a bit on info - click on it and read about all of the parameters you can pass to the tag.
Nullig
{menu template='cssmenu.tpl' start_level='2' start_element='1.1' show_root_siblings='1'}
{menu template='simple_navigation.tpl' start_level='2' start_element="2.1" show_root_siblings='1'}
{menu template="footermenu" items="sitemap,contact,login,registration"}
As previously stated, the help for Menu Manager has quite a bit on info - click on it and read about all of the parameters you can pass to the tag.
Nullig
Re: Menu question
OK, but, I have folowed the steps in the turtorial for how to work with menus. So I tried to do a menu called test-meny
First I let it be as is, but nothing happened, so I deleted all code from it and submitted. It is called from the template with: {menu template='test-meny'}
I have taken out {menu} as well, so the only call to a menu is {menu template='test-meny'}.
But it does not work, the default menu is published instead. Im kinda stuck
First I let it be as is, but nothing happened, so I deleted all code from it and submitted. It is called from the template with: {menu template='test-meny'}
I have taken out {menu} as well, so the only call to a menu is {menu template='test-meny'}.
But it does not work, the default menu is published instead. Im kinda stuck

Re: Menu question
It's difficult to try to help with this type of issue, as we don't have access to your template code, page hierarchy, etc. If you want to take this offline, and are willing to give me admin access to your site, PM me.
Nullig
Nullig
Re: Menu question
Hello,
Pierre M.
I'm not sure dashes are recommended in identifiers. I'd rather 'testmeny'.webguide wrote: {menu template='test-meny'}
Pierre M.