axllent / silverstripe-bootstrap-menus
Add bootstrap menu classes to $LinkingMode
Installs: 102
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Language:Scheme
Type:silverstripe-module
Requires
This package is auto-updated.
Last update: 2023-02-27 19:04:25 UTC
README
An simple extension to add CSS classes to Silverstripe's $LinkingMode
to play nicely with Twitter Bootstrap.
Requirements
- SilverStripe 3+
Installation
Install via Composer
You can install it via composer with
composer require axllent/silverstripe-bootstrap-menus
Manually install
Download the latest release from GitHub and extract into your web root.
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:
<% include BootstrapMenus %>