Thursday 15 May 2008 8:45:53 am
Not sure I really understand the last comment in this thread. If node of class B is child of node of class A, you can (should be able to) override tpl for view of node B, stating
Source=node/view/full.tpl
Match[parent_class_identifier]=A
Match[class_identifier]=B
This of course is triggered when you are viewing a node B object. If you have class C that is child of the node of class B, you have to use:
Source=node/view/full.tpl
Match[parent_class_identifier]=B
Match[class_identifier]=C
and this override rule will apply when you browse to node C. If you are instead browsing to node B, and displaying its children, you are most likely using "content_view_gui view=line". In this case the template used for nodes C is not node/view/line.tpl, but content/view/line. You should try this override:
Source=content/view/line.tpl
Match[parent_class_identifier]=B
Match[class_identifier]=C
Principal Consultant International Business
Member of the Community Project Board
|