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.
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.
1. After unzipping your theme download, put the contents of the zip file into your /themes directory in your silverstripe project.
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:
2. Add the following line of code:
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.
[video] A tale of mockery: Mocking database records and web services in SilverStripe and testing using Behat
In this show and tell video I demonstrate how Behat integration tests can be run efficiently inside a SilverStripe project, while keeping test assertions readable and self contained. The demo walks through and shows how to create database records from within Behat, and fake web services.