Page 1 of 1

MENU menager

Posted: Sat Jan 30, 2010 2:39 pm
by d434545
I use fallowing menu manager code:
 


{if $count > 1}
{foreach from=$nodelist item=node} url}"
{if $node->target ne ""} target="{$node->target}"{/if}
>{$node->menutext}

{/foreach}
{/if}

 
This is showing all main and subcategories.

How to make this code to display just the main (top 1) categories?

Thank You for help :)

Re: MENU menager

Posted: Sat Jan 30, 2010 3:06 pm
by Jeff
Read the menu manager help.

Re: MENU menager

Posted: Sat Jan 30, 2010 3:10 pm
by d434545
I already read it, the code is from faq.

In FAQ there is no information how to display just top categories.

Can you help, and modify code above?

Re: MENU menager

Posted: Sat Jan 30, 2010 5:12 pm
by jmcgin51
ajprog was referring to the Menu Manager Help file within your CMSMS install, not the Menu Manager documentation or FAQs on this site.

The answer to your question is in the Help file.

Re: MENU menager

Posted: Sat Jan 30, 2010 7:49 pm
by d434545
Got it. Thank you jmcgin51 .