This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Setup & design » Different templates for the same...
expandshrink

Different templates for the same class, and in same section?

Different templates for the same class, and in same section?

Tuesday 22 July 2003 11:55:33 pm

I have a custom class for storing information about users. I publish content to two different folders, using the same class (16). I need to have a different design for the class, when viewed in 'line', for the two folders. One of the folders node_id is 65.

This is what I tried:

[line_profil2]
Source=node/view/line.tpl
MatchFile=line_profil2.tpl
Subdir=templates
Match[parent_node]=65
Match[class]=16

[line_profil]
Source=node/view/line.tpl
MatchFile=line_profil.tpl
Subdir=templates
Match[class]=16

Why isn't this working?

(This is my 4th post on the forum with no reply, I hope someone can help me out this time happy.gif Emoticon - I've spendt hours searching for answers on the forums, sdk and the docs, but found nothing)

Modified on Thursday 24 July 2003 12:54:23 am by Kjerand Pedersen

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from