Page 1 of 2
Horizontal Dropdown menu shows only 1 dropdown item
Posted: Wed Jul 18, 2007 1:15 pm
by r00ki3
Hi All,
As described in the topic-subject, i've a problem...
I've installed the CMS MS (my third site sofar with the cms) but the horizontal dropdown cssmenu give some problems.
It just displays 1 dropdown item while i've 6 items under the menu item
here's a link
http://pcs-neurofeedback.martinstruik.nl
I cant solve it..maybe you guys can?
Please let me know!
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Wed Jul 18, 2007 4:08 pm
by Dr.CSS
In the source of that page I see only one second level menu item 'ADHD', make sure the other items are checked to show in the menu, Options tab when editing/creating page, and don't forget to set the parent for it...
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Fri Jul 20, 2007 1:38 pm
by r00ki3
The items are active and the option "show in menu" is checked. The parent is also set.
the parent is a section header.
so i don't know how to get it work...
Maybe there is something wrong in the menu template (.tpl)?
Plz let me know if you've a solution for this!
thnx
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Fri Jul 20, 2007 1:51 pm
by r00ki3
things i've tried sofar:
-new menu template
-Place pages under other menuitems
In all menu items only the first item of the next level (dropdown) is showed.
Is possible to hide or disable/block the next items in a dropdown menu?
because i think that this happens now...
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Fri Jul 20, 2007 1:57 pm
by RonnyK
What happens if you try the following menu template and call that in the menu:
name: 'extra-menu'
Code: Select all
<ul>
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->index != 0}
{if $node->type == 'sectionheader'}
<li class="sectionheader">{$node->menutext}</li>
{elseif $node->type == 'separator'}
<li class="separator" style="list-style-type: none;"> <hr /></li>
{else}
<li><a href="{$node->url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}</a>
{$node->titleattribute}</li>
{/if}
{/if}
{/foreach}
{/if}
</ul>
with:
Ronny
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Fri Jul 20, 2007 1:59 pm
by RonnyK
What other pages should be listed, have you tried using "re-order pages", with just shifting content around and submitting as that fixes some hierarchical issues sometimes.
Ronny
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Fri Jul 20, 2007 2:41 pm
by Dr.CSS
What does the menu call look like?...
{menu}?...
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Sat Jul 21, 2007 9:25 am
by r00ki3
RonnyK wrote:
What happens if you try the following menu template and call that in the menu:
name: 'extra-menu'
with:
Ronny
RonnyK wrote:
What other pages should be listed, have you tried using "re-order pages", with just shifting content around and submitting as that fixes some hierarchical issues sometimes.
Ronny
I tried the things you mentioned above...but that doesn't work anything out.
The problem is still there...
mark wrote:
What does the menu call look like?...
{menu}?...
The menu call is : {menu template='pcsmenu'}
I thought maybe that the menu is "falling" behind the content.
because it doesn't matter where i place the dropdown menu in the menu bar, it always just one item down.
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Sat Jul 21, 2007 9:43 am
by r00ki3
solved!!!
I played around with the z-index.
I've set the z-index of the menu-bar to 2 and the z-index of the content part to 1.
And it works in IE as well in FF

Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Sat Jul 21, 2007 2:48 pm
by Dr.CSS
You need the z-index because you have position:absolute on all the divs, I don't think they are necessary....
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Tue Jul 24, 2007 10:33 am
by r00ki3
mark wrote:
You need the z-index because you have position:absolute on all the divs, I don't think they are necessary....
indeed...only the wrapper need's to be absolute positioned.
Thnx!
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Fri Jul 27, 2007 4:37 am
by Dr.CSS
Actually you could try this...
#Tabel_01 {
margin: 0px auto;
width:1004px;
}
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Fri Jul 27, 2007 8:00 am
by r00ki3
its already solved.
but thnx anyway

Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Fri Jul 27, 2007 8:07 am
by RonnyK
Can you mark the topic with [solved] then, by modifying the first (original post) subject.
Ronny
Re: Horizontal Dropdown menu shows only 1 dropdown item
Posted: Fri Oct 05, 2007 8:15 am
by LivingMudFish
any chance of describing the solution instead of just submitting 'it's solved' as i have a similar problem.
cheers