Forums / Setup & design / Overriding pagelayout by section
Cristian G. L.
Wednesday 02 June 2004 8:24:13 am
Hi!
I need 2 pagelayouts for my site: one for section number 10, and one for the others sections.I tried putting this in my settings/siteaccess/mysiteaccess/override.ini.append:
[pagelayout_admin] Source=pagelayout.tpl MatchFile=pagelayout_admin.tpl Subdir=templates Match[section]=10
The file "pagelayout_admin.tpl" is placed in design/mysiteaccess/override/templates. With this settings... the override works. But it works too much! Now, the system shows me "pagelayout_admin.tpl" <b>always</b>, in any section :-(.How can i override pagelayout by section?
Thanks in advance
Bye