Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
HTML5 data attribute as JSON data in fluid contentelement
<div xmlns="" lang="en"
<f:layout name="Content"/>
<f:section name="Configuration">
<flux:form id="foo" label="bar" description="Lorem" options="{useTypoScript: 0, group: 'Foo', Fluidcontent: {sorting: 400}, icon: '{f:uri.resource(path: \'Icons/foo.png\')}'}">
<flux:form.section name="bar">
< name="individualFoo" items="default" default="default" label="bar"/>
<f:section name="Preview">
<f:section name="Main">
<v:asset name="foo{record.uid}" dependencies="jquery" debug="0" fluid="TRUE">
<v:variable.set value="{myVarName:individualFoo}" name="iFoo"/>
<div id="s{record.uid}" data-test='{iFoo -> v:format.json.encode()}'></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment