Forums / General / Problems adding new template / Comment65045
Gaetano Giunta
Thursday 13 January 2011 5:32:59 am
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?
No.
If you want to ALWAYS use your own template instead of the given template, you do not need any override condition; eg: always use your own tpl for login page (user/login.tpl), or always use your own template for displaying ezstarrating attributes (content/datatype/view/ezstarrating.tpl)
By default all content is shown using the same template: node/view/full.tpl
So if you want to use a different template for 'only some content', such as a specific content class, you do need an override rule and a template in the override folder
Principal Consultant International Business Member of the Community Project Board