changing the andreas menu [solved]

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
jan_hut
Forum Members
Forum Members
Posts: 60
Joined: Sat Jul 01, 2006 1:48 pm

changing the andreas menu [solved]

Post 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?
Last edited by Anonymous on Sun Jan 21, 2007 4:42 am, edited 1 time in total.
jan_hut
Forum Members
Forum Members
Posts: 60
Joined: Sat Jul 01, 2006 1:48 pm

Re: changing the andreas menu

Post by jan_hut »

fixed it

overlooked that the template wasn't calling the menu correctly

needed to add template='andreas00_cmsms : bulletmenu'

simple enough :-)
Post Reply

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