override template feature

override template feature

Sunday 11 March 2007 11:48:15 am - 3 replies

Author Message

christian bencivenni

Tuesday 13 March 2007 3:37:04 am

Try specifing the path of progetto.tpl in the Match option.

Xavier Serna

Tuesday 13 March 2007 4:03:12 am

Hi vincenzo,

you have an error in your override definition, try this:

[section]
Source=pagelayout.tpl
MatchFile=progetto.tpl
Subdir=templates
Match[section]=69

You have to put yout progetto.tpl inside override/templates folder. And this rule applies only for section id 69.

hope this helps,

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

vincenzo dima

Wednesday 21 March 2007 1:29:41 am

Thanks for hints..
At end ..I replaced home page with a different layout using this code in my override.ini.append.php file:
[homepage]
Source=pagelayout.tpl
MatchFile=homepage.tpl
Subdir=templates
Match[node]=2

Now my new home page can be accessed only add a slash "/" at end of address but I think
this issue can be skipped with a Apache RewriteRule.. I hope
Thanks a lot
Vincenzo

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.