Overriding pagelayout by section

Author Message

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.