Help template no override

Help template no override

Saturday 27 March 2004 2:53:30 am - 1 reply

Author Message

Maarten Holland

Wednesday 31 March 2004 2:30:11 am

You shoudn't override pagelayout.tpl directly. Instead create a new page in /design/yourdesign/override/templates/mywelcompage.tpl. You can accomplish this in different ways. The easiest is to create the directory and chmod 'override' 777. Then login to your admininterface and go to Setup, Templates. Click on /node/view/full. Select your design and press Set if neccesary.

Now you have to select when the override template must be used. Your rootnode (or topnode or frontpage) probably has node-id 2. Enter 2 in field 'node id' and type the desired name for your template (in my example 'mywelcomepage').

Correct pagelayout.tpl, clear your cache, reload your frontpage and enjoy your new frontpage!

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.