silverstripe-module silverstripe-bootstrap-menus
Add bootstrap menu classes to $LinkingMode
axllent/silverstripe-bootstrap-menus
Add bootstrap menu classes to $LinkingMode
- Tuesday, February 6, 2018
- by axllent
- Repository
- 1 Watchers
- 0 Stars
- 21 Installations
- Scheme
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
An simple extension to add CSS classes to Silverstripe's $LinkingMode
to play nicely with Twitter Bootstrap., (*1)
Requirements
Installation
Install via Composer
You can install it via composer with, (*2)
composer require axllent/silverstripe-bootstrap-menus
Manually install
Download the latest release from GitHub and extract into your web root., (*3)
Basic usage
An example Bootstrap menu template has been set up in templates/Includes/BootstrapMenus.ss
. You can include this in your main template with:, (*4)
<% include BootstrapMenus %>