Page 1 of 1

Menu from template: Outdoors Style>> SOLVED<<

Posted: Mon Jan 12, 2009 3:40 pm
by stahu13
Hi,
I need delete those numbers from menu 1:, 2:, how can I do that??
Image

this is code from menu:
{* CSS classes used in this template:
#menuwrapper - The id for the that the menu is wrapped in. Sets the width, background etc. for the menu.
#primary-nav - The id for the
.menuparent - The class for each that has children.
.menuactive - The class for each that is active or is a parent (on any level) of a child that is active. *}
{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->parent == true or ($node->current == true and $node->haschildren == true)}
current == true}
haschildren == true}
type == 'sectionheader'}
        {$node->menutext}
{elseif $node->type == 'separator'}
       
{else}
type != 'sectionheader' and $node->type != 'separator'}
href="{$node->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 ne ""} target="{$node->target}"{/if}>{$node->hierarchy}: {$node->menutext}
{elseif $node->type == 'sectionheader'}
>{$node->hierarchy}: {$node->menutext}
{/if}

{/foreach}

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



{/if}

Re: Menu from template: Outdoors Style

Posted: Mon Jan 12, 2009 7:10 pm
by tyman00
I'll give you a hint to help you figure it out yourself. Heck I'll even give you two.

1. Look for the : in your Menu template to see if you can figure out where it is being inserted
2. Look in the Help of the Module to see if you can figure out which smarty call is used for those numbers. Yes, it is documented in the Menu Manager help.

Could I tell you what to do or just paste the new template with the changes? Yes. In fact it would have been easier, but how will you learn to use the system if I do? :)

Re: Menu from template: Outdoors Style

Posted: Mon Jan 12, 2009 7:25 pm
by Dr.CSS
Have you searched thru the forum for this as it has been answered numerous times, and why is it suddenly become such a hot topic again, any ways have you looked in the source to see what/where they come from and maybe look thru the default style sheets to see if any of them call it or deal with them?...

Re: Menu from template: Outdoors Style

Posted: Mon Jan 12, 2009 9:14 pm
by christiaans
mark wrote: Have you searched thru the forum for this as it has been answered numerous times, and why is it suddenly become such a hot topic again, any ways have you looked in the source to see what/where they come from and maybe look thru the default style sheets to see if any of them call it or deal with them?...
Exactly..

*ugh* span.. *ugh*

Re: Menu from template: Outdoors Style

Posted: Tue Jan 13, 2009 7:39 pm
by stahu13
guys,
I making website for 2 years, I ask you because I havent got too much time, please if you know tell me I will spent more time with my girlfrien :))

Re: Menu from template: Outdoors Style

Posted: Tue Jan 13, 2009 9:01 pm
by Dr.CSS
Have you looked in source of page to see what those are in the menu then looked thru the accessibility and crossbrowser style sheet to see if anything rings a bell...

If you spent more time looking thru the default templates/stylesheets/content we could spend more time with our significant others also...

Re: Menu from template: Outdoors Style SOLVED

Posted: Sat Jan 17, 2009 8:11 am
by stahu13
ok SOLVED just insert in your css style:
dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}

Re: Menu from template: Outdoors Style >>>SOLVED<<<

Posted: Sat Jan 17, 2009 8:12 am
by stahu13
:)

Re: Menu from template: Outdoors Style>> SOLVED<<

Posted: Sat Jan 17, 2009 3:31 pm
by tyman00
See... now you know a little more of what to look for and how to do it.