Last active
November 1, 2018 08:12
-
-
Save ABooooo/4e35fc5bb252989fdbb1 to your computer and use it in GitHub Desktop.
DCE format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RTE | |
<f:format.html>{field.zitatText}</f:format.html> | |
// Single line text | |
<p>{field.zitatAutor}</p> | |
// Image (field:'variableName') | |
<f:for each="{dce:fal(field:'sliderImage', contentObject:contentObject)}" as="fileReference"> | |
<f:image class="img-responsive" src="{fileReference.uid}" alt="" treatIdAsReference="1" /> | |
</f:for> | |
// Link with text (create through section not element) | |
<f:for each="{field.textLink}" as="textmitlink"> | |
<dce:typolink parameter="{textmitlink.link}"> | |
{textmitlink.linkText} | |
</dce:typolink> | |
</f:for> | |
// Image with link | |
<f:for each="{dce:fal(field:'logos', contentObject:contentObject)}" as="fileReference"> | |
<dce:typolink parameter="{fileReference.link}"> | |
<f:image class="img-responsive" src="{fileReference.uid}" alt="" treatIdAsReference="1" /> | |
</dce:typolink> | |
</f:for> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment