WebsiteBaker Support (2.8.x) > Templates, Menus & Design
How do you make the parent menu unclickable? <SOLVED>
tsb:
I got asked this today and tried to figure it out, I found some php coding in drupal, via this, http://drupal.org/node/128618 and theres some code in Joomla.
How do you get it to work in WebsiteBaker?,
Basically, I want the drop down menu that happens in the template allcss2, yet the top, parent is not a clickable link and is basically disabled, if anyone knows could you post,
thanks forum,
:-D
kweitzel:
Placeholder Menu items are not a feature within the WB Menu Functions. Short of hardcoding the menu items into the template there is only two things you could try:
1) Use a menu call for every branch in your menu tree
2) Accept the fact that there is no placeholder and work around it by using a menu link item which links to the first subitem in the branch.
cheers
Klaus
tsb:
I kind of found a method in website baker 2.8, yet maybe not ideal.
I basically made a parent page, type as a menu link, then put in the menu link,
link: external link > then I put in the websites home page.
This allows you to still have a drop down menu with the links but having the parent as a link to main-site and not opening up a new page, which I wanted to happen.
kinda, thanks,
:-)
Stefek:
--- Quote from: kweitzel on January 16, 2010, 06:06:59 PM ---Placeholder Menu items are not a feature within the WB Menu Functions.
--- End quote ---
That's wrong.
The show_menu2() function and its CONDITIONAL FORMATTING options is a good and working option.
Stefek
tsb:
Do you know how the showmenu can make it so that the parent isnt a link?
I still want the childroot, drop down menu attached to them to work though
This is the code I have on the website,
<div id="nav" class="clearfix">
<?php show_menu2(0, SM2_ROOT, SM2_ALL, SM2_ALL, false, "\n</li>", false, false, false, '<ul id="header_menu" class="menu">'); ?><br />
</div><!-- end nav -->
thanks,
Navigation
[0] Message Index
[#] Next page
Go to full version