override keys

Author Message

j jevack

Thursday 27 October 2005 11:30:20 am

When overriding a template why do some templates have the override keys options and others do not?

I need to override a template only when specific sections are called. How can I do this when there are no override keys options presented?

Thanks,

Jason

Kristof Coomans

Friday 28 October 2005 9:41:02 am

Which template(s) do you need to override?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

j jevack

Saturday 29 October 2005 8:36:49 am

I need to override a template I created. Here is what I am attempting to accomplish:

I created a pagelayout.tpl which contains a header.tpl and footer.tpl and a default_content.tpl. I want to override the default_content.tpl for different sections of the website so as to present a unique 'look' for each department of the company.

I have each department setup as a folder object. Some departments are closely related and will share a 'look', so I created sections that hold these closely related departments. I want to apply an override for each section. After reading the docs, I planned on setting the override keys to Class=All Classes and Section=Department1. However, I do not have the keys interface presented when setting an override on my template.

I have managed to override the template by manually adding an entry to the override.ini file.

I have two questions: first, am I using the template override system correctly and second, why isn't the override keys interface presented when attempting override the template I created?

Thanks,

Jason

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.