fix: properly limit/allow content elements per site
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
@import 'EXT:ep_events/Configuration/TSconfig/Page/Mod/SHARED.tsconfig'
|
||||
@import 'EXT:ep_events/Configuration/TSconfig/Page/Mod/WebLayout/BackendLayouts.tsconfig'
|
||||
@import 'EXT:ep_events/Configuration/TSconfig/Page/Mod/Wizards/NewContentElement.tsconfig'
|
||||
@import 'EXT:ep_events/Configuration/TSconfig/Page/Wizards/NewContentElement.tsconfig'
|
||||
@import 'EXT:ep_events/Configuration/TSconfig/Page/RTE.tsconfig'
|
||||
@import 'EXT:ep_events/Configuration/TSconfig/Page/TCEFORM.tsconfig'
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
TCEFORM {
|
||||
tt_content {
|
||||
CType {
|
||||
# Remove content elements added by EXT:ep_theme
|
||||
removeItems := addToList(teaser, teaser_country, teaser_region, teaser_city, teaser_hotel, teaser_concept)
|
||||
removeItems := addToList(teaser_product, teaser_booking_link, disturber, disrupter, deal_of_the_week)
|
||||
removeItems := addToList(lineup, event_pricetable, nlform)
|
||||
removeItems := addToList(gmap, contact, calendar, ytvideo, button)
|
||||
removeItems := addToList(ep_container_quarters, ep_container_teasergroup)
|
||||
}
|
||||
|
||||
# Disable image orientations
|
||||
imageorient.removeItems = 0,1,2,8,9,25,26
|
||||
imageorient.disabled = 1
|
||||
|
||||
+4
@@ -1,5 +1,9 @@
|
||||
mod {
|
||||
wizards.newContentElement.wizardItems {
|
||||
common.show := removeFromList(table,bullets,uploads)
|
||||
special.show = div,shortcut,html
|
||||
menu.show =
|
||||
forms.show =
|
||||
epevents {
|
||||
header = EP Events
|
||||
elements {
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
TCEFORM {
|
||||
tt_content {
|
||||
CType {
|
||||
# Remove content elements added by EXT:ep_events
|
||||
removeItems := addToList(tile, statement, herounit, banner)
|
||||
}
|
||||
|
||||
imageorient.removeItems := addToList(0,1,2,8,9,25,26)
|
||||
imageorient.disabled = 1
|
||||
imagecols.disabled = 1
|
||||
|
||||
Reference in New Issue
Block a user