You can change the default templates of a module without modifying the original files. This process is known as "template overriding". Here's the process:
Imagine your site is using a theme called "dogville". You have News module installed and you want to change its templates. What you do is:
1 - Copy the module templates to the theme. You pick up all files in:
/modules/news/templates/
and copy them to:
/themes/dogville/modules/news/
2 - Instead of editing the module's templates, you change the new copies you just did, those that are in the theme folder.
And that's it. Sounds easy because it's THAT easy.
More technical info here: http://wiki.impresscms.org/index.php?title=Template_Overriding
Had I known about this overriding method way earlier, then the techno part of my life would have been a breeze. What took me months to figure out only have taken me seconds to execute having this tip in the bag. Thanks for that informative write-up!
Ezra
Mark from location remorque
Post new comment