We've moved! You can find modules, themes and widgets on http://addons.silverstripe.org.
This page will no longer be updated, and disappear soon. Module maintainers, please read our announcement to find out how to add your modules there.

Twitter Bootstrap

Maintainer(s): Chui


The Bootstrap Theme is based off Twitter Bootstrap, and includes the ability to create Hero Pages, as seen in the screenshot. This theme is responsive to the form-factor of the device, and hides the navigation menu if there isn't enough width to support a full horizontal menu bar.

Here are some other screen shots

To use Hero Pages, you will need a custom Page named mysite/code/HeroPage.php. (A sample is provided)

Each of the subheadings beneath the main section in the Hero page is a special type of Page which has an Excerpt field. In the sample included with the theme, it is named FeaturePage.php.


Theme info:

  • Released: 02 Mar 12
  • Version: 1.0.0
  • Code name: bootstrap (folder name for theme)

Installation Steps

  1. 1. After unzipping your theme download, put the contents of the zip file into your /themes directory in your silverstripe project.
  2. 2. To get your theme up and running, you’ll need to change one line of code in the _config.php file. You’ll find the config file in: ./mysite/_config.php:
  3. 2. Add the following line of code: SSViewer::set_theme('themename');
  4. 4. Once you’ve added the code, visit your homepage, and flush the cache (append ?flush=1 to the url). Your new theme should now be working.

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.