How to override system templates

Author Message

Guillemain Nathalie

Thursday 30 August 2007 3:27:27 am

I need to override some systems templates such as shop templates, kernel error templates...
(ex : template/shop/basket.tpl)

How do I write the override.ini.append.php for thoses templates ?

Which match[] should I use ?

Do I have to put my templates in a special place or do I put them in the same place as usual ?

Thanks

Nathalie

André R.

Thursday 30 August 2007 4:01:38 am

Try matching the file used, like:

[show_override]
Source=shop/basket.tpl
MatchFile=my_special_basket.tpl
Subdir=templates

or you can use a simple design override, if you have a special design that have higher priority then ezwebin (I guess that is the one you use), you can just place a file in the same path in your own design.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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