1125 Posts in 304 Topics by 428 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1331 Views |
-
How subthemes work?

25 June 2009 at 10:21am
Hi,
Lets assume this situation. I have a ss file in the blog module:
/blog/templates/Layout/BlogHolder.ss
which I want to override. I'm using the pixelgreen theme.
So I come to think that the best way will be to create a subtheme pixelgreen_blog with the file:/themes/pixelgreen_blog/Layout/BlogHolder.ss
But it seam that my intuition fails me and this doesn't work so I have to ask how to accomplish this correctly ?
-
Re: How subthemes work?

16 August 2009 at 5:17am
Hello ,
you will in the blog another theme then in the basic site?
then look here http://doc.silverstripe.org/doku.php?id=themes:developing&s=subthemes#subthemes
But if you want change the theme you give in the mysite/_config.php the theme name
SSViewer::set_theme('pixelgreen');----Stooni
| 1331 Views | ||
|
Page:
1
|
Go to Top |

