Multiple Pagelayouts

Multiple Pagelayouts

Thursday 02 October 2003 2:57:14 am - 1 reply

Author Message

Don MacLeod

Thursday 02 October 2003 9:07:28 am

OK - I've found a solution to my own question.

I added the following to override.ini.append ...

[pagelayout_corporate]
Source=pagelayout.tpl
MatchFile=pagelayout_corporate.tpl
Subdir=templates
Match[section]=4

... which means that the corporate pagelayout template is invoked for content belonging to that section (4). What this also means is that the [folder], [article], [image] etc templates can be applied to whichever section template is the current one.

You must be logged in to post messages in this topic!

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