[SOLVED] Multiple Navigator Menus On The Same Page
Posted: Fri Mar 04, 2016 11:34 am
CMS Made Simple⢠2.1.2 Andros Town
CGExtensions 1.52.2
AceEditor2 1.05
CGSimpleSmarty 2.0.5
CGSmartImage 1.21
CMSContentManager 1.1
JQueryTools 1.3.8
Navigator 1.0.2
SiteMapMadeSimple 1.2.8
OK, it's Friday, and it's safe to say I must be having a "moment".
I am trying to import two menus onto one page, simple yes... not for me today.
I am using the code below to pull the two menus in with different css classes attributed to them:
The thing is it only seems to want to pull in the "main_menu" template whatever I do, the only difference between the templates so far is:
main_menuand
secondary_menu
Help greatly appreciated, as I just can't see what I'm doing wrong today, trying to get my head around the CMSMS 2 version and it's changes, this seems to be my last sticking point.
CGExtensions 1.52.2
AceEditor2 1.05
CGSimpleSmarty 2.0.5
CGSmartImage 1.21
CMSContentManager 1.1
JQueryTools 1.3.8
Navigator 1.0.2
SiteMapMadeSimple 1.2.8
OK, it's Friday, and it's safe to say I must be having a "moment".
I am trying to import two menus onto one page, simple yes... not for me today.
I am using the code below to pull the two menus in with different css classes attributed to them:
Code: Select all
{Navigator loadprops='0' template="main_menu" start_level='1' number_of_levels='1'}
{Navigator loadprops='0' template="secondary_menu" start_level='2' number_of_levels='1'}
main_menu
Code: Select all
{function name=Nav_menu depth=1}
<nav class="main-navigation">
<ul>secondary_menu
Code: Select all
{function name=Nav_menu depth=1}
<nav class="secondary-navigation">
<ul>