Forums / Setup & design / Different templates for the same class, and in same section?

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

Author Message

Kjerand Pedersen

Tuesday 22 July 2003 2: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 :-) - I've spendt hours searching for answers on the forums, sdk and the docs, but found nothing)