How to override pagelayout

How to override pagelayout

Monday 06 September 2004 9:56:51 pm - 2 replies

Author Message

Eivind Marienborg

Monday 06 September 2004 10:03:48 pm

You have to create an overrice based on node ID. This can't be set up through the web administrator interface, so you'll have to edit the override.append.ini file manually. It's located in /settings/siteaccess/[yoursite]/.

Add the following:

[welcome_page]
Source=pagelayout.tpl
MatchFile=YOUR_WELCOME_PAGE_TEMPLATE.tpl
Subdir=templates
Match[node]=2 (OR whatever node your welcome page has)

After you've added this to the file, it will show up in the web admin interface, letting you administrate priority there.

Donald Cramb

Monday 06 September 2004 10:29:33 pm

Great, thanks it worked. I set IndexPage within SiteSettings in site.ini.append.php to my welcome page, then did what followed the previous instructions and it worked

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.