Forums / Setup & design / Template changes not shown

Template changes not shown

Author Message

Mihai007 Pop

Thursday 17 April 2008 1:46:41 am

Hi!

I am encountering something that seems to cause a delay in development everytime I want to change a template. I am sure there is some setting I might be missing somewhere.

When I change a template override such as "full" view of a folder and apply the changes (through the admin interface), then everything show up nicely on the site.

But when I am changing something on the "line" view of a template, then I have to remove caches for "template and content" to be able to display the changes. I even tried to go to the full view and change it so that I enforce the changes, but the line view templates seem to be cached until such time I perform a full cache removal. Why is this so? Can I change this while I do a development? Because it is very tedious to always wait for caches to be removed just for a small change.

Thanks guys...!

Yours truly, Mihai

Kristof Coomans

Thursday 17 April 2008 5:16:28 am

Hi Mihai

Where exactly is the line view used?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Mihai007 Pop

Thursday 17 April 2008 8:12:14 am

Hi.

Okay - if I edit node/view/full for the folder.tpl then everytime I save it I <b>can</b> see the changes I have made without having to clear any caches.

But inside the same template there is the following line:
{node_view_gui view='line' content_node=$child}

So if I want to make a certain change to this line's template then I have to edit the node/view/line for the let's say product.tpl.

So I do. I can change it and it looks different and all that. However when I want to see the changes on the website, they are served from a cache. Unless I delete the Templates & Content caches I will not be able to see the change inside this kind of file. I mean the line file.

André R.

Friday 18 April 2008 1:01:54 am

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

eZ debug

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

Main resources:

Total runtime0.1875 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0090 589.1406180.8359
Module start 'content' 0.00900.0082 769.976697.8672
Module end 'content' 0.01730.1701 867.8438526.5234
Script end 0.1873  1,394.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.0658200.0002
Check MTime0.00140.7391200.0001
Mysql Total
Database connection0.00100.556910.0010
Mysqli_queries0.132370.58291410.0009
Looping result0.00150.81681390.0000
Template Total0.169690.510.1696
Template load0.00080.400110.0008
Template processing0.168990.093110.1689
Override
Cache load0.00050.271010.0005
Sytem overhead
Fetch class attribute can translate value0.00070.368110.0007
XML
Image XML parsing0.00030.135610.0003
General
dbfile0.00291.5469200.0001
String conversion0.00000.005530.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs