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 { editPanel = 1 editPanel { printBeforeContent = 1 allow = edit, new, delete, move, hide } editIcons = tt_content: editIcons { beforeLastTag = -1 iconTitle = Edit specific fields of content element } } }