Forums / Setup & design / override.ini.append : how to associate a template to 2 different section?
Alessandro Cipriani
Tuesday 06 April 2004 2:18:48 am
hi all my site is growing fast and i'm adding a lot of different section. no problems until the moment i needed to associate the same template to 2 different sections. let's say i have to associate mypagelayout to the section 25 and 26in my override.ini.append i tried to set:
[mypagelayout] Source=pagelayout.tpl MatchFile=mypagelayout.tpl Subdir=templatesMatch[section]=25
[mypagelayout] Source=pagelayout.tpl MatchFile=mypagelayout.tpl Subdir=templatesMatch[section]=26
but with no results: only the second association works.how to have this result?
best regardsalessandro
Paul Forsyth
Tuesday 06 April 2004 3:32:49 am
Try:
[my_other_pagelayout] Source=pagelayout.tpl MatchFile=mypagelayout.tpl Subdir=templatesMatch[section]=26
paul