axllent/silverstripe-bootstrap-menus

Add bootstrap menu classes to $LinkingMode

Installs: 52

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Language:Scheme

Type:silverstripe-module

1.0.0 2016-08-02 05:27 UTC

This package is auto-updated.

Last update: 2020-07-27 13:36:05 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 %>