1347 Posts in 439 Topics by 514 members
|Go to End|
23 February 2013 at 10:49pm
I'm struggling to get a subtheme working and wondered if someone could show me what I'm doing wrong? I've followed the instructions here (http://doc.silverstripe.org/framework/en/topics/theme-development) and here (http://www.silverstriperesources.com/articles/customising-a-theme-using-sub-themes/), but my subtheme is just not being recognised.
My understanding from these articles is that you simply need to create a new theme folder with the same name as your 'master' theme, and suffix it with something like '_page' (then do your overrides in this folder). The articles don't say to do anything else, such as edit _config.php, or select the subtheme in the Settings admin section (both of which I've tried). However, when I do this what I'm expecting to see just doesn't happen.
I'll keep experimenting, but if anyone has any suggestions that would be great
24 February 2013 at 1:25am
Ok, so a quick update.
After a bit more experimenting I've established that you can subtheme a module (i.e. myTheme_blog) but you can't subtheme a page type (i.e. myTheme_page) even though this article suggests you can: http://www.silverstriperesources.com/articles/customising-a-theme-using-sub-themes/
Does this mean that SS 3 no longer supports sub-theming of page types?
|Go to Top|