Override path.tpl problem

Author Message

Y Lin

Sunday 14 November 2004 6:49:15 am

I'm trying to override the path.tpl in design\base\templates\parts by moving it to design\base\override\templates\parts. After making the changes, there's no change to the output. It seems the override file isn't working? Is there anything else I need to do?

~Mac

Felix Laate

Monday 15 November 2004 1:27:32 am

Hi there!

Maybe you need to make an override-setting in /path/to/ez/settings/siteaccess/base/override.ini.append.php.

Read more here: http://ez.no/ez_publish/documentation/customization/custom_design/override_templates

felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Ole Morten Halvorsen

Monday 15 November 2004 2:01:22 am

Hi,

1. You have to add an entry in settings/siteaccess/<your_siteacces>/override.ini.append.php to make eZ publish find the new override template.

2. You need to clear the override cache. Do this by running

# bin/shell/clearcache.tpl --clear-tpl-override

or login into the admin interface, click on the 'Setup tab', click on the 'Cache' icon, select 'Template override cache' from the list and press 'Clear selected'.

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

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