Forums / Setup & design / Create a template override in a different folder

Create a template override in a different folder

Author Message

Salvatore Guarino

Tuesday 26 July 2005 12:00:51 am

Hi!
There is a way to create an override of a template and save it in a different folder? (default folder is, for example, "/design/corporate/override/templates", instead I want to save it in /design/corporate/override/templates/full).
Tanks,

Salvatore

Eivind Marienborg

Tuesday 26 July 2005 12:05:17 am

Yeah, that's no problem.

But be aware that you have to specify the subdir in the MatchFile paramater of override.ini.append, and not the subdir:

[override_name]
Source=node/view/full.tpl
Matchfile=full/yourtemplate.tpl
Subdir=templates

Salvatore Guarino

Tuesday 26 July 2005 12:31:57 am

Tank you very much!
Bye,
Salvatore