1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Which template to format? (/blog/templates or /themes/mytheme)
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1038 Views |
-
Which template to format? (/blog/templates or /themes/mytheme)

16 July 2010 at 8:48am Last edited: 16 July 2010 8:49am
Is it correct to edit:
/blog/templates/Layout/BlogHolder.ssby adding my layout code?
Or should I make a new template in my:
/themes/mytheme/BlogHolder.ssand add my styling and layout to that file?
C.b
-
Re: Which template to format? (/blog/templates or /themes/mytheme)

16 July 2010 at 9:14am Last edited: 16 July 2010 9:14am
You should always edit the modules html in your own theme rather than editing the module directly. It makes upgrading hard. I recommend making a subtheme (eg /themes/mytheme_blog/) which you can logically group theme files which override blog.
| 1038 Views | ||
|
Page:
1
|
Go to Top |


