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.
Rapid Prototyping with SilverStripe & Foundation
Guest blogger Ryan Wachtl is an independent US-based web developer and information architect with a passion for the art of programming and the science of design. He has been building sites with SilverStripe since the early 2.2 release and organizes the Read on