Zum Inhalt springen

Calendar Base

Erstellt am 9. Oktober 2006 · 2 Antworten · letzte Antwort am 16. Oktober 2006

Tags: Frage

dnalor ·

Hallo Experten,

ich bin gerade dabei "Calendar Base" (cal) einzurichten. Es hat alles geklappt bis auf ein ungelöstes Problem. Wie formatier man die Datumsangabe ind der "Event" Ansicht? Bei allen anderen Ausgaben (Month, Day, Week) kann man direkt über TYPOSCRIPT formatieren. In der Dokumentation finde ich aber nichst für die Ausgabe Event. (Doku: http://typo3.org/documentation/document-library/extension-manuals/cal/current/view/1/4/ )

Kann mir jemand helfen?

Danke und Gruß

Roland

ronnie ·

Hi Roland
Schau doch mal im object-browser nach. Dort kannst Du für jeden view (Tag, Woche,
Monat, etc) einen Formatierstring für die Anzeige hinterlegen.
Ich hoffe ich konnte weiterhelfen.
Salüüüüüüüüüüüü

dnalor ·

So geht's:

plugin.tx_cal_controller {
  view.week {
   dateFormatWeekList = %a, %d.%m.%y
   dateFormatDay = %a, %d.%m.%y
   timeFormatDay = %H:%M
   dateFormatWeek = %d. %B %Y
   timeFormatWeek = %H:%M
   eventStartTimeFormatWeek = %H:%M
   eventEndTimeFormatWeek = %H:%M
  }

  view.day {
   dateFormatWeekList = %A, %d.%B %Y
   dateFormatDay = %a, %d.%m.%y
   timeFormatDay = %H:%M
   dateFormatWeek = %d.%B
   timeFormatWeek = %H:%M
   eventStartTimeFormatWeek = %H:%M
   eventEndTimeFormatWeek = %H:%M
  }

  view.event {
   dateFormat = %d.%B %Y
   timeFormat = %H:%M Uhr
  }

  view.list {
   dateFormatList = %a, %d.%m.%y
   timeFormatList = %H:%M
  }

  view.month {
   dateFormatMonth = %B %Y
  }

  view.other {
   dateFormatWeekJump = %d.%b
   dateFormatMonthJump = %B %Y
  }
}