Add reusable disrupter ce to replace disturber ce
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
tt_content.disrupter =< lib.contentElement
|
||||
tt_content.disrupter {
|
||||
templateName = Disrupter
|
||||
dataProcessing {
|
||||
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
|
||||
10 {
|
||||
table = tx_eptheme_domain_model_disrupter
|
||||
#pidInList = {$plugin.tx_eptheme.settings.disrupterStoragePid}
|
||||
pidInList = 1916
|
||||
join = tx_eptheme_ttcontent_tx_eptheme_disrupter_mm ON tx_eptheme_ttcontent_tx_eptheme_disrupter_mm.uid_foreign = tx_eptheme_domain_model_disrupter.uid
|
||||
where {
|
||||
data = field:uid
|
||||
intval = 1
|
||||
wrap = tx_eptheme_ttcontent_tx_eptheme_disrupter_mm.uid_local=|
|
||||
}
|
||||
as = disrupter
|
||||
|
||||
dataProcessing {
|
||||
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
|
||||
10 {
|
||||
references.fieldName = image
|
||||
references.table = tx_eptheme_domain_model_disrupter
|
||||
as = image
|
||||
}
|
||||
20 = EP\EpTheme\DataProcessing\FlexFormProcessor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,7 @@
|
||||
@import "EXT:ep_theme/Configuration/TypoScript/ContentElements/calendar.typoscript"
|
||||
@import "EXT:ep_theme/Configuration/TypoScript/ContentElements/contact.typoscript"
|
||||
@import "EXT:ep_theme/Configuration/TypoScript/ContentElements/disturber.typoscript"
|
||||
@import "EXT:ep_theme/Configuration/TypoScript/ContentElements/disrupter.typoscript"
|
||||
@import "EXT:ep_theme/Configuration/TypoScript/ContentElements/event_pricetable.typoscript"
|
||||
@import "EXT:ep_theme/Configuration/TypoScript/ContentElements/gmap.typoscript"
|
||||
@import "EXT:ep_theme/Configuration/TypoScript/ContentElements/lineup.typoscript"
|
||||
|
||||
Reference in New Issue
Block a user