[solved]: Menu Manager and Navigator

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

[solved]: Menu Manager and Navigator

Post by saltydog »

I have just upgraded to 2.0 and I am willing to migrate from the old Menu Manager (which I use in my site) to the new Navigator. Is there an How-To with the correct procedure for this?
Last edited by saltydog on Wed Sep 16, 2015 9:13 am, edited 2 times in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Menu Manager and Navigator

Post by calguy1000 »

There is no significant difference IIRC with the data available in the nodes in MenuManager and Navigator with exception that Navigator returns a hierarchical data structure, whereas in MenuManager it is flat.

With a hierarchical data structure you can use recursion, and things like the @first and @last and @index properties of the smarty foreach to more easily create navigations that you can then style with CSS.

There is no tutorial for conversion, because conversion depends on your menu, it's features, and what 'tricks' you had to do to get it to work in MenuManager.

There are a few sample template with a fresh installation however.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Menu Manager and Navigator

Post by saltydog »

Thanks! I managed to let it work. It is an easy process, indeed!
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm

Re: SOLVED: Menu Manager and Navigator

Post by rotezecke »

one difference i noticed today:

Code: Select all

{menu template="simpleTabMenu" loadprops=0 items="alias1,alias2"}
the above used to work even where alias1 and/or alias2 were flagged as don't show in menu. now required

Code: Select all

{Navigator template="simpleTabMenu" loadprops=0 show_all=1 items="alias1,alias2"}
(M)
Forum Members
Forum Members
Posts: 118
Joined: Tue Mar 18, 2008 11:43 pm

Re: SOLVED: Menu Manager and Navigator

Post by (M) »

Another one is this;
(example in Module Help, CMSMS Navigation Builder (Navigator)

Code: Select all

{Navigator number_of_levels=2 childrenof=$page_alias}
But it is only working with this code, without the $;

Code: Select all

{Navigator number_of_levels=2 childrenof='page_alias'}
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: SOLVED: Menu Manager and Navigator

Post by calguy1000 »

Code: Select all

{Navigator number_of_levels=2 childrenof=$page_alias}
Works fine for me... just tested it.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
mev
Power Poster
Power Poster
Posts: 371
Joined: Wed Apr 25, 2007 5:00 pm

Re: SOLVED: Menu Manager and Navigator

Post by mev »

rotezecke wrote:one difference i noticed today:

Code: Select all

{menu template="simpleTabMenu" loadprops=0 items="alias1,alias2"}
the above used to work even where alias1 and/or alias2 were flagged as don't show in menu.
now required

Code: Select all

{Navigator template="simpleTabMenu" loadprops=0 show_all=1 items="alias1,alias2"}
Indeed: show_all=1 had to be added to this Navigator-code! Otherwise, not any menu-item shows in my case!
Thanks rotezecke!!

willemijn
Locked

Return to “[locked] Installation, Setup and Upgrade”