Liebe Leute,
habe ein Problem. Ich nutze in der Cal-Extension die Möglichkeit, im Singleview eine ICS-Datei zum Download anzubieten. Das Problem ist: Bei einem Klick darauf wird keine gültige ICS-Datei erzeugt, sondern eine HTML-Datei, die meiner sonstigen HTML-Seite gleicht und zusätzlich den (inhaltlich korrekten) ICS-String des Einzelevents enthält:
<!-- Plugin inserted: [begin] -->
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//TYPO3/NONSGML Calendar Base (cal) V1.2.1//EN
METHOD:pUBLISH
BEGIN:VEVENT
UID:_1_96
DTSTAMP:20091210T141304
DTSTART:20100115T160000Z
DTEND:20100115T210000Z
CATEGORIES:Allgemein
SUMMARY:xxx
DESCRIPTION:Beschreibung LOCATION:Schöne AussichtORGANIZER;CN="ich":
END:VEVENT
END:VCALENDAR
<!-- Plugin inserted: [end] -->
Hier der entsprechende Ausschnitt im Setup:
#ICS#
ics = PAGE
ics {
typeNum = 150
10 < plugin.tx_cal_controller
10.pages >
10.pages = 2845
10.anonymousUserUid = {$plugin.tx_cal_controller.anonymousUserUid}
10.view.ics.calUid = {$plugin.tx_cal_controller.view.ics.calUid}
10.view.allowedViews = ics,single_ics
10.view.ics.maxDate = 20100301
10.defaultCode = TEXT
}
#ics.config.metaCharset = utf-8
ics.10.rights.edit >
ics.10.rights.create >
ics.10.rights.delete >
ics.10.view {
day >
week >
month >
year >
calendar >
category >
list >
freeAndBusy >
other >
search >
search_event >
search_location >
search_organizer >
admin >
location >
organizer >
rss >
create_event >
edit_event >
confirm_event >
delete_event >
create_calendar >
edit_calendar >
confirm_calendar >
delete_calendar >
create_category >
edit_category >
confirm_category >
delete_category >
create_location >
edit_location >
confirm_location >
delete_location >
create_organizer >
edit_organizer >
confirm_organizer >
delete_organizer >
translation >
}
ics.config.xhtml_cleaning = 1
ics.config.disableAllHeaderCode = 1
ics.config.additionalHeaders = Content-type:application/text
ics.config.admPanel = 0
Das statische Template "ICS Export" ist im Template der betreffenden Seite ebenfalls eingebunden.
Meine Konfiguration:
Typo3 4.3
Cal 1.2.1
RealUrl (funktioniert aber auch ohne nicht)
PHP 5.2.4
Weiß einer Rat?