Commit 1e20bfe2 authored by Siddharth Sheth's avatar Siddharth Sheth
Browse files

[Issue Fixed] WIP: Resolve Provide ICS Data for calendar

parent 6628ac64
Pipeline #6595 passed with stages
in 2 minutes and 35 seconds
......@@ -23,6 +23,46 @@ config.recordLinks.sf_event_mgt {
}
}
[globalVar = TSFE:type = 9819]
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 >
}
plugin.tx_sfeventmgt.settings.format = ical
plugin.tx_sfeventmgt.settings.domain.data = getEnv:HTTP_HOST
plugin.tx_sfeventmgt.settings.useStdWrap = domain
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
}
}
}
[global]
[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>
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