Commit 7138ced4 authored by Stefan Busemann's avatar Stefan Busemann

Merge branch '96-provide-ics-data-for-calendar' into 'develop'

Resolve "Provide ICS Data for calendar"

Closes #96

See merge request !274
parents ad67e394 82c86690
Pipeline #6695 passed with stages
in 2 minutes and 44 seconds
......@@ -23,6 +23,38 @@ config.recordLinks.sf_event_mgt {
}
}
pageNewsICalendar = PAGE
pageNewsICalendar {
typeNum = 9819
10 < tt_content.list.20.sfeventmgt_pievent
10 {
switchableControllerActions {
Event {
1 = icalDownload
}
}
settings < plugin.tx_sfeventmgt.settings
settings {
startingpoint = 180
format = ical
domain.data = getEnv:HTTP_HOST
useStdWrap = domain
}
}
config {
disableAllHeaderCode = 1
xhtml_cleaning = none
admPanel = 0
metaCharset = utf-8
additionalHeaders = Content-Type:text/calendar;charset=utf-8
# Since 8 LTS
additionalHeaders.10.header = Content-Type:text/calendar;charset=utf-8
disablePrefixComment = 1
linkVars >
}
}
[globalVar = GP:tx_sfeventmgt_pievent|event > 0]
# remove all meta tags from cs_seo
......
......@@ -51,6 +51,9 @@
{event.location.country}
</p>
</f:if>
<f:link.action class="btn btn-outline-primary ml-3" action="detail" controller="Event" arguments="{event:event}" additionalParams="{type:9819}">
<span class="fa fa-calendar"></span> <f:translate extensionName="t3org_layout" key="tx_t3org_layout.events.importdate" />
</f:link.action>
<f:if condition="{event.link}">
<f:link.typolink parameter="{event.link}" class="btn btn-outline-primary ml-3">
Sign up
......
......@@ -8,6 +8,9 @@
<trans-unit id="tx_t3org_layout.events.all_category">
<source>All</source>
</trans-unit>
<trans-unit id="tx_t3org_layout.events.importdate">
<source>Import event dates</source>
</trans-unit>
</body>
</file>
</xliff>
......@@ -19,4 +19,23 @@ config.tx_extbase {
objects {
DERHANSEN\SfEventMgt\Domain\Model\Event.className = T3o\T3orgLayout\Domain\Model\Event
}
}
pageNewsICalendar = PAGE
pageNewsICalendar {
typeNum = 9819
10 < tt_content.list.20.sfeventmgt_pievent
10 {
switchableControllerActions {
Event {
1 = icalDownload
}
}
settings < plugin.tx_sfeventmgt.settings
settings {
startingpoint = 180
format = ical
domain.data = getEnv:HTTP_HOST
useStdWrap = domain
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment