Page 1 of 1

changing the andreas menu [solved]

Posted: Wed Jan 17, 2007 10:13 pm
by jan_hut
I'm working on a site using the andreas00 template which is basic enough for my needs. There's one thing I can't for the life of me adapt though.
- The menu lists the current page which I don't need. How do I remove this?
- The active menu item is in black while non active menu items are displayed as a button. Obviously I'df like the active menu item to   
  be listed as a button as well.

Here's a screencap to illustrate what I mean:
Image

and here's the menu code:
{* CSS classes used in this template:
.currentpage - The active/current page
.bullet_sectionheader - To style section header
hr.separator - To style the ruler for the separator *}
{if $count > 0}

{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}
{repeat string="" times=$node->prevdepth-$node->depth}

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

{if $node->current == true}
url}" class="currentpage"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{elseif $node->type == 'sectionheader'}
{$node->menutext}
{elseif $node->type == 'separator'}

{else}
url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}{/if}
{/foreach}

{repeat string="" times=$node->depth-1}

{/if}
Anyone have any idea how to fix this?

Re: changing the andreas menu

Posted: Thu Jan 18, 2007 9:28 am
by jan_hut
fixed it

overlooked that the template wasn't calling the menu correctly

needed to add template='andreas00_cmsms : bulletmenu'

simple enough :-)