Forums / Setup & design / one class and different templates?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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"!