|
|
@@ -114,6 +114,7 @@ plugin.tx_ottemplating {
|
|
|
staticDonors = {$plugin.tx_ottemplating.settings.donors.static}
|
|
|
eventsLimit = {$plugin.tx_ottemplating.settings.events.limit}
|
|
|
eventsPeriod = {$plugin.tx_ottemplating.settings.events.period}
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -149,6 +150,8 @@ plugin.tx_form {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+# Create the form object to render with:
|
|
|
+# <f:cObject typoscriptObjectPath="lib.tx_ottemplating.widgets.contact"/>
|
|
|
lib.tx_ottemplating.widgets.contact = USER_INT
|
|
|
lib.tx_ottemplating.widgets.contact {
|
|
|
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
|
|
|
@@ -162,3 +165,43 @@ lib.tx_ottemplating.widgets.contact {
|
|
|
}
|
|
|
settings.persistenceIdentifier = EXT:ot_templating/Resources/Private/Forms/Contact.form.yaml
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+# * News extension integration
|
|
|
+
|
|
|
+# Disable error handling to allow displaying both list ans detail on the same page
|
|
|
+plugin.tx_news.settings {
|
|
|
+ detail.errorHandling =
|
|
|
+}
|
|
|
+
|
|
|
+# Create the news list and news details objects to render with:
|
|
|
+# <f:cObject typoscriptObjectPath="lib.tx_ottemplating.widgets.listnews"/>
|
|
|
+# <f:cObject typoscriptObjectPath="lib.tx_ottemplating.widgets.detailnews"/>
|
|
|
+lib.tx_ottemplating.widgets {
|
|
|
+ listnews = USER
|
|
|
+ listnews {
|
|
|
+ userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
|
|
|
+ extensionName = News
|
|
|
+ pluginName = Pi1
|
|
|
+ vendorName = GeorgRinger
|
|
|
+ action = list
|
|
|
+ switchableControllerActions {
|
|
|
+ News {
|
|
|
+ 1 = list
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ settings < plugin.tx_news.settings
|
|
|
+ settings {
|
|
|
+ limit = {$settings.news.limit}
|
|
|
+ detailPid = {$settings.news.uid}
|
|
|
+ startingpoint = {$settings.news.uid}
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ detailnews < lib.tx_ottemplating.widgets.listnews
|
|
|
+ detailnews {
|
|
|
+ action = detail
|
|
|
+ switchableControllerActions.News.1 = detail
|
|
|
+ }
|
|
|
+}
|