ds-site/Configuration/TypoScript/Setup/ContentElements/Basic.typoscript

61 lines
1.5 KiB
Text
Raw Permalink Normal View History

2019-11-13 23:40:26 +01:00
lib.contentElement = FLUIDTEMPLATE
lib.contentElement {
templateName = Default
templateRootPaths {
10 = EXT:ds_site/Resources/Private/Templates/ContentElements/
}
partialRootPaths {
10 = EXT:ds_site/Resources/Private/Partials/
20 = EXT:ds_site/Resources/Private/Partials/ContentElements/
}
layoutRootPaths {
10 = EXT:ds_site/Resources/Private/Layouts/ContentElements/
}
variables {
headerLayout = COA
headerLayout {
10 = TEXT
10 {
if {
value = 100
equals.field = header_layout
}
value = hidden
}
15 = TEXT
15 {
if {
value = 0
equals.field = header_layout
}
value = 2
}
20 = TEXT
20 {
if {
value = 100
isLessThan.field = header_layout
isPositive.field = header_layout
}
stdWrap.dataWrap = {field:header_layout} + 1
prioriCalc = intval
}
}
}
stdWrap {
2020-01-31 13:24:13 +01:00
editPanel = 1
editPanel {
printBeforeContent = 1
allow = edit, new, delete, move, hide
}
editIcons = tt_content:
editIcons {
beforeLastTag = -1
2020-01-31 13:24:13 +01:00
iconTitle = Edit specific fields of content element
}
}
2019-11-13 23:40:26 +01:00
}