Wednesday 11 May 2005 6:22:48 am
You can use the same override template for multiple "targets", but you can't do it with just one block in the override.ini file because you can't use an OR condition between match keys. So you have to create one block in override.ini per match. Example:
[news_folder]
Source=node/view/full.tpl
MatchFile=full/news_folder.tpl
Subdir=templates
Match[class_identifier]=folder
Match[node]=63
[sports_folder]
Source=node/view/full.tpl
MatchFile=full/news_folder.tpl
Subdir=templates
Match[class_identifier]=folder
Match[node]=64
Both point to the same template, but with different match keys. Also make sure the name of the block (eg [news_folder]) is different for each block. hth
Hans
http://blog.hansmelis.be
|