override pagelayout.tpl

override pagelayout.tpl

Tuesday 21 July 2009 5:17:11 am - 3 replies

Author Message

Ivo Lukac

Tuesday 21 July 2009 8:47:54 am

[special]
Source=pagelayout.tpl
MatchFile=sitemap.tpl<<<<<----------------- sitemap.tpl??? here goes special.tpl
Subdir=templates
Match[node]=123 // node id of article

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

srikanth mn

Tuesday 21 July 2009 11:10:24 pm

I have changed the MatchFile to special

MatchFile=special.tpl

Still i am not able to get the special template. it is taking pagelayout.tpl tempelate

Gaetano Giunta

Wednesday 22 July 2009 12:40:31 am

- make sure your override.ini is taken into account (look in the admin interface in the 'ini settings' tab)
- make sure your rule for overriding based on node_id does not come after some other rule that might apply based on class_id or something else less specific: the first rule that matches is applied

Principal Consultant International Business
Member of the Community Project Board

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.