Add bootstrap menu classes to $LinkingMode
An simple extension to add CSS classes to Silverstripe's
$LinkingMode to play nicely with Twitter Bootstrap.
- SilverStripe 3+
You can install it via composer with
composer require axllent/silverstripe-bootstrap-menus
Download the latest release from GitHub and extract into your web root.
An example Bootstrap menu template has been set up in
templates/Includes/BootstrapMenus.ss. You can include this in your main template with:
<% include BootstrapMenus %>