Forums / Setup & design / Help template no override

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Help template no override

Author Message

Berardo Matè

Saturday 27 March 2004 2:53:30 am

Hi to all,
i've write my own template but does don't override pagelayout.tpl. I've also setup rights to chmod 666 for file but nothing. I want to create a new welcome page with a little bit different layout.
I'm usign Exponential 3.2.
Any ideas?

Many thanks

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!