This is probably not the right way to do it, but just in case anybody else need a quick fix, I share mine:
When clicking the parent in the menu the menu toggles/collapses, but I want to be able to go to the link of the parent. I need to both go to the link of the parent and show/unshow the children.
I changed the code in index.template.php. Go to:
Add after so that the code becomes:
When clicking the parent in the menu the menu toggles/collapses, but I want to be able to go to the link of the parent. I need to both go to the link of the parent and show/unshow the children.
I changed the code in index.template.php. Go to:
Code Select
echo '
<ul class="treeview-menu">';
Add after so that the code becomes:
Code Select
echo '
<ul class="treeview-menu">';
echo '<li><a href="', $button['href'], '"', isset($childbutton['target']) ? ' target="' . $childbutton['target'] . '"' : '', '>', $button['title'],'</a></li> ';
foreach ($button['sub_buttons'] as $childbutton)