MenuManager: limit by items="", but also show the children?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
moltar
New Member
New Member
Posts: 7
Joined: Thu Jan 04, 2007 2:29 am

MenuManager: limit by items="", but also show the children?

Post by moltar »

Is there a way to limit the meny by items="" parameter, but then also expand each one of the items and show it's children?

So if I say something like:

{menu items="one,two" number_of_levels="2"}

I expect:

* One
  * Blue
  * Green
* Two
  * Square
  * Round

But I only get the parents...
irasanborn
Forum Members
Forum Members
Posts: 14
Joined: Tue Jun 10, 2008 4:12 pm

Re: MenuManager: limit by items="", but also show the children?

Post by irasanborn »

bump

I'd also like to know this (selecting specific menu items but also showing their children). 

I tried also played around with a menu template and added an {if} condition to check on $node->alias, but with the same results as above. Any help with either approach would be appreciated.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: MenuManager: limit by items="", but also show the children?

Post by Dr.CSS »

No sorry atm there is no way to do this with item= the new CMSMS ver. 1.4 beta may let you, but you can put the items under a section header or some how group them then call start_level= and show_siblings=...

Look in menu Help for parameters usage...
irasanborn
Forum Members
Forum Members
Posts: 14
Joined: Tue Jun 10, 2008 4:12 pm

Re: MenuManager: limit by items="", but also show the children?

Post by irasanborn »

OK, was afraid of that. I'll play around with some smarty in the menu manager a bit more before I give up and change my content structure. I'll post any progress if I find some.

Thanks for your quick response yet again mark  ;D
meanpenguin
Forum Members
Forum Members
Posts: 14
Joined: Thu Mar 01, 2007 3:14 am

Re: MenuManager: limit by items="", but also show the children?

Post by meanpenguin »

Hi,

I think I have the same problem and submitted some code for inclusion.

http://forum.cmsmadesimple.org/index.ph ... 454.0.html

I added a parameter for "minimum levels" to show.  So I can make at least 2 levels to show.
Clicking on the second level will expand out the 3rd level just like normal...

I'll clean it up and submit it the way Calguy has specified in a sticky at the developer's forum...

Edward
Post Reply

Return to “Modules/Add-Ons”