Author Topic

Olaf Fichtner

Thursday 13 January 2011 1:45:30 am

Comment65028

"

> 4. Do I always have to use override when creating new templates?

Only when overriding a template using a set of conditions(aka conditional overrides), if you want to create a reusable template stub for use with include in templates, then you can just place it in template folder.

"

This is something I never really understood, because everything I found documented was intertwined with several conditions, so maybe I can finally get an answer this time:

Does this mean that I only need to create a new content class like "report", and then create a template with the same name (report.tpl) to have the template used by the system? If so, where would I place such a template? I did a search on "article.tpl" in the installation tree and ended up with 16 hits, all of them with an "override" folder in the path...