Forums / Setup & design / new class - where to get the line-view-template?

new class - where to get the line-view-template?

Author Message

Stefan van Zwoll

Wednesday 21 July 2004 7:06:27 pm

hi everybody,
i'm using ezp 3.4.1 (yes, all new) with the corporate set of templates. i've created a new class and an override template for the frontpage. i filtered my new made class in that template, so far so good. now i want the names of the objects to appear a custom way with

{node_view_gui view=line content_node=$Child:item}

.
first i created with the admin-tool a new template called fp_line.tpl, left the override keys for class and section at "any" and just slipped in a "2" at the node override. then i changed the view=line to view=fp_line but nothing showed up. what did i do wrong? i assume i would have to change the line.tpl at standard/node/view/ but there should be an override way, shouldn't it? i appreciate any help.

regards, stefan

Stefan van Zwoll

Thursday 22 July 2004 3:57:02 pm

well, found it out by myself. my mistake: set the override-key for the new class, the node only doesn't work. and: i did not change the view=line to something else. seemingly it gets the information of the template i made a copy of (?).
regards, stefan