Forums / Setup & design / New objects / Comment13693
Paolo Tramontani
Tuesday 30 September 2003 1:39:46 am
Ok, overriding template made me in great confusion too, but it is only a question of find the right procedure. It is only a question of put all puzzle pieces in the right place.
You have to create the template and place it in the mysite/override/template folder (where mysite is the name of your site);
Then you have to go in the settings/siteaccess/mysite folder and edit the file override.ini.append.Insert this in the file (let's suppose that your file templates are mynestemplate.tpl for full view and line_mynewstemplate.tpl for line view):
[mynewstemplate] Source=node/view/full.tpl MatchFile=mynewstemplate.tpl Subdir=templatesMatch[class]=23
[line_mynewstemplate] Source=node/view/line.tpl MatchFile=line_mynewstemplate.tpl Subdir=templatesMatch[class]=23
This is all you need for your template... If you have already done all this let me know. Perhaps you have some other problem...