Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 css
Octocat-spinner-32 images
Octocat-spinner-32 scss
Octocat-spinner-32 templates
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 config.rb
README.md

Silverstripe Default Theme

Maintainers

Help / Tutorials

You will find a lot of comments inside the theme explaining the code as good as possible Should you still have any questions feel free to poke us in IRC or per email

Tutorials - coming soon ...

Modules / Subthemes

NOTE: module support is currently not available, due to compatibility issues between modules and the new silverstripe version

Widgets

NOTE: widgets are not working in the new silverstripe version yet

To add widgets to your site, simply add the code below to your mysite/code/Page.php This widgets will then be displayed in the Right Sidebar (WidgetsRight) and below the content (WidgetsBottom) More Information on widgets can be found here

 class Page extends SiteTree {
      ...
    static $has_one = array(
        "WidgetsRight" => "WidgetArea",
        "WidgetsBottom" => "WidgetArea"
    );

    function getCMSFields() {
        $fields = parent::getCMSFields();
        $fields->addFieldToTab("Root.Content.WidgetsRight", new WidgetAreaEditor("WidgetsRight"));
        $fields->addFieldToTab("Root.Content.WidgetsBottom", new WidgetAreaEditor("WidgetsBottom"));
        return $fields;
    }
    ....
 }
Something went wrong with that request. Please try again.