Forums / Developer / New template / Comment64719
Edi Modrić
Friday 31 December 2010 9:25:07 am
Hi David,
you need to put your template in mydesign/override/templates/full/ folder. Best practice is that you tpl file name matches your class identifier. So if your new class identifier is my_class, the full path to the new tpl file should be mydesign/override/templates/full/my_class.tpl
After that, you need to add the following in settings/my_siteaccess/override.ini.append.php and clear ini & override caches. (full details at: http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Configuration-files/override.ini)
[full_my_class] Source=node/view/full.tpl MatchFile=full/my_class.tpl Subdir=templates Match[class_identifier]=my_class
eZ Publish certified developer http://ez.no/certification/verify/350658