diff --git a/mysite/code/Page.php b/mysite/code/Page.php index c527d9c..9c5bda7 100755 --- a/mysite/code/Page.php +++ b/mysite/code/Page.php @@ -8,7 +8,13 @@ class Page extends SiteTree { } class Page_Controller extends ContentController { - + function init() { + parent::init(); + + Requirements::themedCSS("layout"); + Requirements::themedCSS("typography"); + Requirements::themedCSS("form"); + } } ?> \ No newline at end of file diff --git a/tutorial/code/Page.php b/tutorial/code/Page.php index 4f88a28..d63b962 100644 --- a/tutorial/code/Page.php +++ b/tutorial/code/Page.php @@ -11,7 +11,13 @@ class Page extends SiteTree { } class Page_Controller extends ContentController { - + function init() { + parent::init(); + + Requirements::themedCSS("layout"); + Requirements::themedCSS("typography"); + Requirements::themedCSS("form"); + } } ?>