Skip to content

Instantly share code, notes, and snippets.

@j6s
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j6s/8a7b3d6af7915333cbd3 to your computer and use it in GitHub Desktop.
Save j6s/8a7b3d6af7915333cbd3 to your computer and use it in GitHub Desktop.
{namespace flux=FluidTYPO3\Flux\ViewHelpers}
<f:layout name="Content" />
<f:section name="Configuration">
<flux:form id="frame" label="Frame" icon="Icons/Page.gif">
<!-- Insert fields, sheets, grid, form section objects etc. here, in this flux:flexform tag -->
<flux:grid>
<flux:grid.row>
<flux:grid.column>
<flux:form.content name="content" label="Inhalt"/>
</flux:grid.column>
</flux:grid.row>
</flux:grid>
<flux:field.checkbox name="mobile" label="Mobile anzeigen" default="1"/>
<flux:field.checkbox name="tablet" label="Tablet anzeigen" default="1"/>
<flux:field.checkbox name="desktop" label="Desktop anzeigen" default="1"/>
</flux:form>
</f:section>
<f:section name="Preview">
<flux:widget.grid />
</f:section>
<f:section name="Main">
<f:debug>{_all}</f:debug>
<div class="frame selective-show mobile-{mobile} tablet-{tablet} desktop-{desktop}">
<flux:content.render area="content" />
</div>
</f:section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment