Re: SmartMenus and Drupal Bootstrap theme

Home Forums Older releases 0.9.x SmartMenus and Drupal Bootstrap theme Re: SmartMenus and Drupal Bootstrap theme

#1766
MarioBaron
Participant

I tried your solution from http://www.smartmenus.org/forums/topic/smartmenus-and-drupal-bootstrap-theme and works great in Bootstrap 3 Drupal base theme I just comment out line 35 of menu-link.func.php and that gets my parent menus working

//$element['#localized_options']['attributes']['data-toggle'] = 'dropdown';

For me first click opening submenu and second navigating to parent menu page feels really natural on touch devices (its a little of “if at first you don’t succeed try again approach) but if adding a big toggle +/- button is becoming more popular these days I guess that would work just as well. Perhaps leave both as an option?

Thanks for all the great work you’ve put into this. In Bootstrap 2 I used a slightly modified CWSpears plugin but, your plugin is definitely more complete so here I am 🙂

Register

You will be emailed a link to set your password.

Login

Lost password?