Forums / Setup & design / an other problem with override templates
Carlo Fiori
Friday 26 September 2003 5:45:30 am
I follow all instructions to override templates. Editing the /settings/siteaccess/yoursiteaccess/override.ini.append file, there are my new override line, but it doesn't working. I think the system don't load this file, because if I change override that just exists like on "folder", web works normally, it doesn't realize the change!. I disable cache on templates while debug is active. I see that template overrided is ever the same, also if I change .ini.It is possible that system don't reload override.ini ?
Alex Jones
Friday 26 September 2003 6:35:00 am
Carlo, you need to clear the ini cache in the admin section. It is separate from the template caching that you have turned off.
Alex
Alex [ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ] <i>When in doubt, clear the cache.</i>
Friday 26 September 2003 7:00:47 am
The cache in admin board is enabled for .ini files, I clear it, but there's not difference.
I must restart application? Nothing too :(
Paul Borgermans
Friday 26 September 2003 7:15:35 am
Does it conflict with an override.ini.append in
settings/override/... ?
That one will take precedence over siteaccess *.ini
-paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans
Friday 26 September 2003 7:21:58 am
There's not override.ini file in settings/ove...
I have an override file only for ../mysite/...
I am a little confused, I don't understand why dont' works ! :/
Paolo Tramontani
Monday 29 September 2003 2:49:58 am
Carlo, did you check all entries in your override.ini.append file?I exeperienced your same error when I wrote wrong entries: I was wrong in the subdir entry (the template file have to be saved in the design/mydesign/overrider/template folder and the Subdir entry must be "templates".
I'm sure you already deeply checked this, but it's only a try...
Paolo
Monday 29 September 2003 6:38:36 am
I resolved my problems: there is a possible bug on local cache, that it's delete by admin section. Every time I modify an override, I must delete it manually, else file .ini are not reloaded automatically.