Hi I am trying to setup a new layout using BandB theme my cmsms is version 2.2.10 the latest.
What i am trying to do is display the level 2 on a page. And the main menu would have no drop-downs. So I have callapsed the main level by adding the following in the template.
{Navigator template='bandb_topnav' number_of_levels='1' }
which works fine, but I can not figure out what would go on the page.
I have tried this
<div id="articles">{menu start_level='2' collapse='1' }</div>
the id points to the menu item this works on other menus.
But I can't make it work with bandb_topnav.
Any help would be appreciated.
Thanks
BandB menu
Re: BandB menu
{menu} uses Menu Manager which is deprecated, so to start with you probably want to use {Navigator} instead.
You'll also need to call a template for that second Navigator call or else it will use whatever one you have set to default. You can create a new one or copy one of the bandb ones, making sure to rename the function and adjust the styles as needed.
So your call for the submenu should be something like {Navigator template='mynewtemplate' start_level=2}
You'll also need to call a template for that second Navigator call or else it will use whatever one you have set to default. You can create a new one or copy one of the bandb ones, making sure to rename the function and adjust the styles as needed.
So your call for the submenu should be something like {Navigator template='mynewtemplate' start_level=2}
Not getting the answer you need? CMSMS support options
Re: BandB menu
Hi
Thanks for help although I've still not got it to work.
I have created a new template called bandb_page_nav and copied the code from bandb_topnav first removing the code provided and altered the function to page_nav I can only see one function?
When selecting the new template I chose Navigator::Navigation
And then added this code in the page.
{Navigator template='bandb_page_nav' start_level='2' }
But nothing shows? I have tried just using the provided source from the new template but still no good.
Can you suggest were I may be going wrong?
Thanks
Thanks for help although I've still not got it to work.
I have created a new template called bandb_page_nav and copied the code from bandb_topnav first removing the code provided and altered the function to page_nav I can only see one function?
When selecting the new template I chose Navigator::Navigation
And then added this code in the page.
{Navigator template='bandb_page_nav' start_level='2' }
But nothing shows? I have tried just using the provided source from the new template but still no good.
Can you suggest were I may be going wrong?
Thanks
Re: BandB menu
if you change the function name, you also need to change all calls to that function name. There should be 3 or 4 within the template.
Not getting the answer you need? CMSMS support options
Re: BandB menu
Hi Again
I now have something working but not quite what I am looking for.
This is were I start from.
{Navigator template='bandb_page_nav' start_level='2'}
The start_level='2' seems to kill the menu altogether if I remove it I get the full menu. So is the start_level not compatible with bandb templates?
I have played with a number of formats but nothing appears to give me what I am trying to do. Which is show the second level and collapse the first.
I now have something working but not quite what I am looking for.
This is were I start from.
{Navigator template='bandb_page_nav' start_level='2'}
The start_level='2' seems to kill the menu altogether if I remove it I get the full menu. So is the start_level not compatible with bandb templates?
I have played with a number of formats but nothing appears to give me what I am trying to do. Which is show the second level and collapse the first.
Re: BandB menu
There's not a compatibility issue, that's not really a thing. You would need to determine why start_level=2 isn't outputting anything. Without seeing your site it's hard to guess what it could be.
Not getting the answer you need? CMSMS support options
Re: BandB menu
Resolved by adding the following.
{Navigator start_level=2 template='minimal_menu'}
{Navigator start_level=2 template='minimal_menu'}


