Help with Menu Manager template

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
zafiro
New Member
New Member
Posts: 7
Joined: Sat Jan 10, 2009 10:48 pm

Help with Menu Manager template

Post by zafiro »

Hi! i've been working on my website's menu with menu manager. I had some problems before with them menu but i solved them with help at this forum. Now, again, I need the help of the smart people on this forums.

I modified a menu manager template to style it myself. The result:
{if $count > 0}


{foreach from=$nodelist item=node}
{if $node->depth != $node->prevdepth}
{if $node->depth > $node->prevdepth}

{elseif  $node->depth prevdepth}

{/if}
{elseif $node->index > 0}

{/if}

{if $node->index == 0}
{assign var="icon" value="house"}
{elseif $node->haschildren == true }
{assign var="icon" value="folder"}
{elseif $node->haschildren == false }
{assign var="icon" value="page"}
{/if}
{if $node->current == true}

{else}

{/if}
{if $node->type == 'sectionheader'}
depth}">{$node->menutext}
{else}
id == 15}/{else}{$node->url}{/if}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{/if}
{/foreach}
{repeat string="" times=$node->depth-1}

{/if}
It was a very little modication using only logic since i barely understand any of these "$node" codes.
As i said, I need the help of the smart people at these forums. Please, help me to modify this template so it stops displaying the "home" page link. I've been playing with it but i got smarty errors etc. so i decided to come to the forums.

Thanks for your help!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with Menu Manager template

Post by Dr.CSS »

It would be a whole lot easier to do this with CSS or the new page image selector in page edit mode...
zafiro
New Member
New Member
Posts: 7
Joined: Sat Jan 10, 2009 10:48 pm

Re: Help with Menu Manager template

Post by zafiro »

Thanks mark. lol, asking the forums is like asking you indirectly!.
Thanks for your time.
Post Reply

Return to “Layout and Design (CSS & HTML)”