full_class_1.tpl Design Problem

full_class_1.tpl Design Problem

Monday 04 August 2003 10:46:38 am - 4 replies

Author Message

Alex Jones

Monday 04 August 2003 11:59:47 am

Dave, you will need to add your own entry to your override.ini.append if the override doesn't exist already. Something akin to:

[full_class_1]
Source=node/view/full.tpl
MatchFile=full_class_1.tpl
Subdir=templates
Match[class]=1

Also, make sure you have cleared your ini and template caches after uploading this and your templates.

Does this help?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

David Barker

Monday 04 August 2003 12:59:46 pm

Hey thanks for the help!
I just realised what it was though! (silly me) There was already an override template called folder.tpl so even after I added my info in override.ini for full_class_1.tpl, the folder.tpl was used. But I've fixed that and it works like it should now!

Thanks!!!
Dave

Alex Jones

Monday 04 August 2003 1:45:22 pm

Great to hear you figured it out. The little mistakes can often be the most vexing.

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

padEE Scherer

Saturday 09 August 2003 6:24:14 am

hi all,
i think your topic is that, what makes me going insane... what i didn't understand so far is if it is necessary to make an entry in an .append file, if i use a different object number (in my case 29)? I think, then it is not necessary to create an .append file, is it?

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.