CSS Menu Module

A place to make for-pay "CMS made simple" job offerings
Locked
cajol

CSS Menu Module

Post by cajol »

Hi there, I'm busy working on a menu, using menu manager, I'm wanting to customise the script as we are wanting to add a german version of out website, please see below an image of the CMS containing the items I want to list:

Please see: CMS_pages

Basically when the user clicks on the German version of the site, the template will change and include, a new menu templates, however I was wondering is it possible to exclude some of the menu nodes and only include some menu items.

Please see: menu_pages

Please any help would be useful

{* 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->parent == true && $node->depth == 1}
url}" class="activeparent"{if $node->target ne ""} target="{$node->target}"{/if}--> {$node->menutext}

{elseif $node->type == 'sectionheader'}
{$node->menutext}


{elseif $node->type == 'separator'}


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

{/foreach}

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

{/if}
Attachments
CMS_pages.jpg
menu_item.jpg
menu_item.jpg (26.13 KiB) Viewed 1320 times
alby

Re: CSS Menu Module

Post by alby »

cajol wrote: Hi there, I'm busy working on a menu, using menu manager, I'm wanting to customise the script as we are wanting to add a
Please, doesn't 3 posts

Alby
Locked

Return to “Help Wanted (commercial)”