Forums / Setup & design / How to match different pagelayouts within one section?
Clay Pereira
Wednesday 18 February 2004 11:44:51 am
How do I override the pagelayout.tpl for different classes within the same section.
For example I want the root folder to have my 3 column pagelayout. I want my info_page class to have my header single column layout and finally my article class to have a different pagelayout.
I seem to be only able to override the entire section not individual classes.
Wednesday 18 February 2004 12:08:12 pm
Answered My Own Question?
I think I had a priority issue going on. As soon as I moved these to entries to the top of the override.ini.append file all worked.
[pagelayout_section_4] Source=pagelayout.tpl MatchFile=pagelayout_section_4.tpl Subdir=templates Match[class]=1Match[section]=4
[pagelayout_articles_section_4] Source=pagelayout.tpl MatchFile=pagelayout_articles_section_4.tpl Subdir=templates Match[class]=18Match[section]=4