mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-25 07:36:11 +01:00
65 lines
1.4 KiB
Text
65 lines
1.4 KiB
Text
config {
|
|
cache_period = 86400
|
|
no_cache = 0
|
|
sendCacheHeaders = 1
|
|
debug = 1
|
|
}
|
|
|
|
page = PAGE
|
|
page {
|
|
10 = USER
|
|
10 {
|
|
// Simulates foreign access prior our rendering.
|
|
// TYPO3 has an internal cache in order to not recalculate timeout.
|
|
userFunc = WerkraumMedia\EventsExample\UserFunc->accessTsfeTimeout
|
|
}
|
|
|
|
20 < styles.content.get
|
|
|
|
30 = USER
|
|
30 {
|
|
// Simulates further long running rendering.
|
|
// In order to test that our ttl is calculated as expected.
|
|
userFunc = WerkraumMedia\EventsExample\UserFunc->sleep
|
|
userFunc {
|
|
sleep = 0
|
|
}
|
|
}
|
|
}
|
|
|
|
plugin.tx_events {
|
|
persistence {
|
|
storagePid = 2
|
|
}
|
|
|
|
view {
|
|
templateRootPaths {
|
|
0 = EXT:example/Resources/Private/Templates/
|
|
}
|
|
partialRootPaths {
|
|
0 = EXT:example/Resources/Private/Partials/
|
|
}
|
|
layoutRootPaths {
|
|
0 = EXT:example/Resources/Private/Layouts/
|
|
}
|
|
}
|
|
|
|
settings {
|
|
sortByDate = start
|
|
sortOrder = ASC
|
|
start = 1660158000
|
|
}
|
|
}
|
|
|
|
config {
|
|
pageTitleProviders {
|
|
date {
|
|
provider = WerkraumMedia\Events\Frontend\PageTitleProvider\DateTitleProvider
|
|
before = record
|
|
}
|
|
event {
|
|
provider = WerkraumMedia\Events\Frontend\PageTitleProvider\EventTitleProvider
|
|
before = record
|
|
}
|
|
}
|
|
}
|