Skip to content

Instantly share code, notes, and snippets.

@renepardon
Created March 11, 2012 18:30
Show Gist options
  • Save renepardon/2017572 to your computer and use it in GitHub Desktop.
Save renepardon/2017572 to your computer and use it in GitHub Desktop.
fluid typoscript example for fluid layout integration
page.10 = FLUIDTEMPLATE
page.10 {
partialRootPath = fileadmin/templates/partials/
layoutRootPath = fileadmin/templates/layouts/
variables {
siteInfoColumn < styles.content.get
siteInfoColumn.select.where = colPos=1
content < styles.content.get
content.select.where = colPos=2
content_right < styles.content.getRight
content_right.select.where = colPos=3
content_right.slide = -1
}
}
page.10.file.stdWrap.cObject = CASE
page.10.file.stdWrap.cObject {
key.data = levelfield:-1, backend_layout_next_level, slide
key.override.field = backend_layout
default = TEXT
default.value = fileadmin/templates/fullSizeContent.html
2 = TEXT
2.value = fileadmin/templates/twoColumnsContent.html
3 = TEXT
3.value = fileadmin/templates/fullSizeContent.html
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment