simple_navigation.tpl

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Marcel
Forum Members
Forum Members
Posts: 54
Joined: Tue Feb 20, 2007 2:17 pm

simple_navigation.tpl

Post by Marcel »

Hello , well this is my first question and perhaps a simple one.

I'am using the simple_navigation.tpl but i don't need the numbers in front of the link

1.Home
2.Bla bla

I have search and find one anwser but in that script they are using count childeren , and that is not i simple_navigation.tpl

{* CSS classes used in this template:
.activeparent - The top level parent when a child is the active/current page
li.active0n h3 - n is the depth/level of the node. To style the active page for each level separately. The active page is not clickable.
.clearfix - Used for the unclickable h3 to use the entire width of the li, just like the anchors. See the Tools stylesheet in the default CMSMS installation.
li.sectionheader h3 - To style section header
li.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}
{$node->hierarchy}: {$node->menutext}

{elseif $node->parent == true}
url}"{if $node->accesskey != ''} accesskey="{$node->accesskey}"{/if}{if $node->tabindex != ''} tabindex="{$node->tabindex}"{/if}{if $node->titleattribute != ''} title="{$node->titleattribute}"{/if}>{$node->hierarchy}: {$node->menutext}

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

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


{else}
url}"{if $node->accesskey != ''} accesskey="{$node->accesskey}"{/if}{if $node->tabindex != ''} tabindex="{$node->tabindex}"{/if}{if $node->titleattribute != ''} title="{$node->titleattribute}"{/if}{if $node->target != ''} target="{$node->target}"{/if}>{$node->hierarchy}: {$node->menutext}

{/if}

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

{/if}


Who can help me?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: simple_navigation.tpl

Post by tsw »

take a look at default stylesheet named something like accessibility and crossbrowser tools

and search the forum
Marcel
Forum Members
Forum Members
Posts: 54
Joined: Tue Feb 20, 2007 2:17 pm

Re: simple_navigation.tpl

Post by Marcel »

Well just what is said it was simple
{$node->hierarchy}: change to {$node->none}

;D
Post Reply

Return to “CMSMS Core”