Skip to content

Instantly share code, notes, and snippets.

@sfelde
Last active December 16, 2015 11:49
Show Gist options
  • Save sfelde/5429896 to your computer and use it in GitHub Desktop.
Save sfelde/5429896 to your computer and use it in GitHub Desktop.
tt_content.gridelements_pi1.20.10.setup {
3 < lib.gridelements.defaultGridSetup
3 {
prepend = COA
prepend {
10 = TEXT
10 {
data = field:flexform_headline
typolink.parameter.data = field:flexform_link
wrap = <h3>|</h3>
}
20 = IMAGE
20 {
file.import=uploads/tx_gridelements/
file.import.data = field:flexform_image
file.width = 200
file.height = 133c
params = class="cover"
}
30 = COA
30 {
10 = TEXT
10 {
data = field:flexform_text
crop = 150 | &nbsp; | 1
}
20 = TEXT
20 {
value = &nbsp;more...
typolink.parameter.data = field:flexform_link
}
wrap = <p>|</p>
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment