Skip to content

Instantly share code, notes, and snippets.

@paravista
Created July 6, 2016 09:12
Show Gist options
  • Save paravista/4d3f8086efea2f79646d83dae745d408 to your computer and use it in GitHub Desktop.
Save paravista/4d3f8086efea2f79646d83dae745d408 to your computer and use it in GitHub Desktop.
PageTS select options on content element type base e.g. layout
# CE Layouts
TCEFORM.tt_content.layout {
removeItems = 1,2,3,4
addItems {
10 = Akkordeon
20 = Image Slider
30 = Boxed Content
}
types {
# div is CE type, but can by used any type
div {
removeItems = 20,30,40
addItems {
50 = Line with small margins
60 = Line with big margins
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment