one class and different templates?

Author Message

mario feichtinger

Wednesday 16 July 2003 3:05:38 am

hello!
how can i use for one class two different templates?
i have one folder [object 59] in this folder are events [class 14]. this events should be displayed in a list with the next three events and in a list with the other events.
how can i make this work?

override.ini

[line_events]
Source=node/view/line.tpl
MatchFile=line_events.tpl
SubDir=templates
Match[class]=14

[line_nextevents]
Source=node/view/line.tpl
MatchFile=line_nextvents.tpl
SubDir=templates
Match[node]=14

perhaps this is correct!
if it is correct, how looks like the link for these sites?
/content/view/full/59?

thanks!
mario

mario feichtinger

Wednesday 16 July 2003 11:47:42 pm

i found it -> in thread "creating view_mode_gui"!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.