Guest Posted August 8, 2013 Share Posted August 8, 2013 (edited) 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 August 9, 2013 by Guest (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 yes, in this case you have to edit the module .php file because whole code of the menu is generated there Link to comment Share on other sites More sharing options...
Guest Posted August 9, 2013 Share Posted August 9, 2013 Hey vekia, Thanks! Looks like I have some work to do, was hoping for an easy out. All the best, eggo Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now