Template system not working correctly

Template system not working correctly

Wednesday 09 April 2003 1:21:26 am - 4 replies

Author Message

Paul Borgermans

Wednesday 09 April 2003 4:16:46 am

Did you clear the cache files? And even turn off caching in site.ini? You need to do this when developing templates.

I make custom classes and templates and it works.

Paul

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

Claus Jensen

Wednesday 09 April 2003 5:37:18 am

>Did you clear the cache files? And even turn off caching in site.ini? You need to do this when developing templates.
>I make custom classes and templates and it works.
>Paul

Yes, caching is off and I see changes when I edit the full.tpl file. So you have done it the same way that I explained above, and it works?

Mine is always using the full.tpl even though it exists a design/user_eec/override/node/view/full_class_22.tpl, and I access this: http://www.mysite.com/user_eec/content/view/full/22/

Kai Duebbert

Thursday 10 April 2003 12:58:21 am

You have the wrong path.

WRONG: "design/user_eec/override/node/view/"
right: "design/user_eec/override/templates/node/view/"

Hope this solves it.

Kai

Claus Jensen

Thursday 10 April 2003 1:43:52 am

Thats right, but only a typo.
Everybody stop thinking about this..I found the problem!
I was using the object Id's instead of the class id's... really neat! full_class_22.tpl (the news template) should really be full_class_1.tpl (the folder class) which is what the news class is.

thanks for reply's anyways :)
claÜs

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.