Forums / Setup & design / an other problem with override templates

an other problem with override templates

Author Message

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>

Carlo Fiori

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

Carlo Fiori

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

Carlo Fiori

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.

eZ debug

Timing: Jan 18 2025 21:19:18
Script start
Timing: Jan 18 2025 21:19:18
Module start 'content'
Timing: Jan 18 2025 21:19:19
Module end 'content'
Timing: Jan 18 2025 21:19:19
Script end

Main resources:

Total runtime1.2027 sec
Peak memory usage4,096.0000 KB
Database Queries210

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.9609180.8125
Module start 'content' 0.00561.0393 769.7734653.5313
Module end 'content' 1.04490.1577 1,423.3047337.0547
Script end 1.2026  1,760.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.3669210.0002
Check MTime0.00150.1264210.0001
Mysql Total
Database connection0.00080.066310.0008
Mysqli_queries1.125393.55692100.0054
Looping result0.00220.18192080.0000
Template Total1.169997.320.5849
Template load0.00220.182220.0011
Template processing1.167797.084520.5838
Template load and register function0.00020.017310.0002
states
state_id_array0.00120.100310.0012
state_identifier_array0.00150.126720.0008
Override
Cache load0.00180.1492320.0001
Sytem overhead
Fetch class attribute can translate value0.00150.124250.0003
Fetch class attribute name0.00120.102390.0001
XML
Image XML parsing0.00160.133950.0003
class_abstraction
Instantiating content class attribute0.00000.001590.0000
General
dbfile0.00340.2831340.0001
String conversion0.00000.000330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs