Sunday 05 November 2006 6:52:11 am
In your override.ini.append.php file:
[pagelayout_mynewsection]
Source=pagelayout.tpl
MatchFile=pagelayout_sectionname.tpl
Subdir=templates
Match[section]=my_section
Where a new pagelayout file is called "pagelayout_sectionname.tpl" and a new section name is "my_section" Another thing that we often do is use one pagelayout with switches for sections. Even more ingenious (I think) is setting div id names tagged with the section ID -
<div id="header-design-{$DesignKeys:used.section}">
Then in our CSS, we have rules called:
div#header-design-1 {background: url(image1.jpg)}
div#header-design-5 {background: url(image5.jpg)}
div#header-design-6 {background: url(image6.jpg)}
This way we can have separate designs without maintaining multiple pagelayouts (as long as they are all based on the same structure).
http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions
|