Created
October 1, 2013 09:27
-
-
Save DominicCronin/6775961 to your computer and use it in GitHub Desktop.
Example of Tridion Dreamweaver templating
This file contains 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
<!-- TemplateBeginRepeat name="Component.Fields" --> | |
@@Field.Name@@ | |
<!-- TemplateBeginRepeat name="Field.Values" --> | |
<!-- TemplateBeginIf cond="Field.ContentType = 'text/plain'" --> | |
@@RenderComponentField(FieldPath, TemplateRepeatIndex)@@ | |
<!-- TemplateEndIf --> | |
<!-- TemplateBeginIf cond="Field.ContentType = 'tridion/field'" --> | |
<!-- TemplateBeginRepeat name="Field.Fields" --> | |
@@Field.Name@@ | |
<!-- TemplateBeginRepeat name="Field.Values" --> | |
@@RenderComponentField(FieldPath, TemplateRepeatIndex)@@ | |
<!-- TemplateEndRepeat --> | |
<!-- TemplateEndRepeat --> | |
<!-- TemplateEndIf --> | |
<!-- TemplateEndRepeat --> | |
<!-- TemplateEndRepeat --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment