making override tpl's... (newbie-question..)

making override tpl's... (newbie-question..)

Sunday 31 August 2003 4:09:28 pm - 5 replies

Modified on Sunday 31 August 2003 4:09:46 pm by Jesper Haggren

Author Message

Paul Forsyth

Monday 01 September 2003 12:17:31 am

You may need to look at the override file, which specifies which files are used when.

Read this document:

http://ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates

Paul

Paul Borgermans

Monday 01 September 2003 2:21:38 am

Well I think it should pick up the file (if its in design/<your design>/templates) without the need to specify it in the override.ini.append file.

Did you clear your cache?
It is advisable to disabling "ViewCaching" in the [content] section of your site.ini.append.php file (in settings/override, not the original site.ini) while editing templates.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jesper Haggren

Monday 01 September 2003 6:55:02 am

ok thanks... I cleared the /var/cache/override folder and reloaded the page.. it worked!

I checked my override.ini and nothing is active in there.

--

I guess thee solution is to clear the override-cache everytime I start using a new own-defined-template.

Thanks Paul!

/Jesper

Paul Forsyth

Monday 01 September 2003 7:06:09 am

I think ez needs a 'click here if things are not working' button :)

paul

Paul Borgermans

Monday 01 September 2003 10:06:45 am

Good suggestion, a cleanup button :-)

Another thing Bård warned me on: accelerator cache.

When I get "inexplicable" problems, I clear the phpa cache files too (usually in /tmp) and restart the entire apache server+ database with a virgin (empty) var/cache. The latter is mostly taking less than 1 sec, so it's OK.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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.