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

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