Help with Menu Manager template
Posted: Tue Jan 13, 2009 3:28 am
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:
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!
I modified a menu manager template to style it myself. The result:
It was a very little modication using only logic since i barely understand any of these "$node" codes.{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}
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!