Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Blog Module /

Discuss the Blog Module.

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

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


Reply


2 Posts   1311 Views

Avatar
prawnstar

Community Member, 121 Posts

16 July 2010 at 8:48am

Edited: 16/07/2010 8:49am

Is it correct to edit:
/blog/templates/Layout/BlogHolder.ss

by adding my layout code?

Or should I make a new template in my:
/themes/mytheme/BlogHolder.ss

and add my styling and layout to that file?

C.b

Avatar
Willr

Forum Moderator, 5513 Posts

16 July 2010 at 9:14am

Edited: 16/07/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.