I can add hierarchical top menu entries for the information pages with "Information Pages Hierarchical Top Menu" extension, easily.
Information Pages Hierarchical Top Menu
http://www.opencart.com/index.php?route ... order=DESC
But I'd like to remove the links in main menu on the top and have just the child information pages that show on hover be linked.
e.g. http://www.opencart.com
Support
- General support // sub1
- Community forums // sub2
- Bug tracker // sub3
- Contact us // sub4
I'd like "Support" not to be clickable, but sub menus to be linked to the child information pages.
I’m not sure how to implement this, can anyone help?
This is pretty simple to do just open your header.tpl for v 1.5.2.1 and find this line:
If you want all Top Level links to be disabled just remove the href like this:
If you want to specify which you want to be killed then just set up a conditional check on a specific Category ID. As you go through the conditional it will either activate or deactivate the link.
Code: Select all
<li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>
Code: Select all
<li><a href="javascript:void();"><?php echo $category['name']; ?></a>
Can anyone please reply to the last question? I would also like to set 1 specific link to not active except the child category's in the drop down menu. I have no idea how to set up a conditional check ona specific Category ID... anyone please explain?
Who is online
Users browsing this forum: No registered users and 18 guests