Jump to content

[SOLVED] Modifying {$MENU}


Guest

Recommended Posts

Hey guys,

 

So I want to incorporate Bootstrap into the menu on my new site. However, it requires a specific link for each dropdown and then a UL for each link. I can't seem to achieve this on the current blocktopmenu because you can only change the URL and add one link for the only UL, but I need to change the link for each dropdown to a specific a class.

 

This is the markup for the bootstrap dropdown.

 

<div class="dropdown">
 <a id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="/page.html">
Dropdown <span class="caret"></span>
 </a>
 <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
...
 </ul>
</div>

 

Is there anyway for me to modify {$MENU} to include this? Should I be looking in blocktopmenu.php?

 

Thanks,

eggo

Edited by Guest (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...