Hi everyone,
Wondered if someone could help me figure this out as i'm getting a tad frustrated with one of my menus. Everything works fine apart from on the output of one of my menus when it is expanded I have the a spare
which causes a gap in my menu when expended
Here is the menu manager code:
{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}
Thanks in advance
Problem with Menu
Re: Problem with Menu
This is not from the menu template, how do you call the menu in the template, is it a second level menu, where in the menu is the empty li...
-
Spider91112
- New Member

- Posts: 3
- Joined: Tue Aug 04, 2009 1:15 pm
Re: Problem with Menu
Hi Thanks for your responce,Dr. CSS wrote: This is not from the menu template, how do you call the menu in the template, is it a second level menu, where in the menu is the empty li...
Yes its a second level menu and called using the following:
{menu template='eu_menu' start_level='2' collapse='1'}
Ive doublechecked my CSS and cant see a problem with it?
Thanks for your help on this
Re: Problem with Menu
A link would help...
-
Spider91112
- New Member

- Posts: 3
- Joined: Tue Aug 04, 2009 1:15 pm
Re: Problem with Menu
Ok So Ive figured its CSS Related
Ive attached one of the premade style sheets to my menu submenu and that seems to have sorted it however still having a problem in regards to menu text overflowing with bullet points: Have a look here:
http://www.euhostme.co.uk/hosting/linux_shared.php
Many Thanks
Warren
Ive attached one of the premade style sheets to my menu submenu and that seems to have sorted it however still having a problem in regards to menu text overflowing with bullet points: Have a look here:
http://www.euhostme.co.uk/hosting/linux_shared.php
Many Thanks
Warren
Re: Problem with Menu
If you want to make changes to the menus look copy the style sheet that goes with the menu then attach that to the template and add your changes to it...
A real good idea to help with this is topic, Working with HTML/CSS...
http://forum.cmsmadesimple.org/index.ph ... 580.0.html
A real good idea to help with this is topic, Working with HTML/CSS...
http://forum.cmsmadesimple.org/index.ph ... 580.0.html

