Jump to:

1856 Posts in 1610 Topics by 562 members

Blog Module

SilverStripe Forums » Blog Module » Which template to format? (/blog/templates or /themes/mytheme)

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1285 Views
  • prawnstar
    Community Member
    116 Posts

    Which template to format? (/blog/templates or /themes/mytheme) Link to this post

    Is it correct to edit:

    by adding my layout code?

    Or should I make a new template in my:

    and add my styling and layout to that file?


  • Willr
    Forum Moderator
    5511 Posts

    Re: Which template to format? (/blog/templates or /themes/mytheme) Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.