Skip to content

Instantly share code, notes, and snippets.

@jmverges
Created March 14, 2015 13:08
Show Gist options
  • Save jmverges/ee575de1f8db246fe107 to your computer and use it in GitHub Desktop.
Save jmverges/ee575de1f8db246fe107 to your computer and use it in GitHub Desktop.
allowedContentTypes
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers">
<f:layout name="Content" />
<f:section name="Configuration">
<flux:form id="container">
<flux:form.option name="group" value="Layout" />
<flux:form.option name="Layout" value="{sorting: 1}" />
<flux:field.select name="settings.container.tag"
items="div,header,main,footer,nav"
default="div">
</flux:field.select>
<flux:field.input name="settings.container.id" size="10" />
<flux:field.select name="settings.container.class"
items="container,container-fluid"
default="container">
</flux:field.select>
</flux:form>
<flux:grid>
<flux:grid.row>
<flux:grid.column name="column1">
<flux:form.variable name="allowedContentTypes" value="fluidcontent_content" />
<flux:form.variable name="Fluidcontent" value="{allowedContentTypes: 'simplicity_application_layout:Container.html'}" />
</flux:grid.column>
</flux:grid.row>
</flux:grid>
</f:section>
<f:section name="Preview">
</f:section>
<f:section name="Main">
<v:tag name="{settings.container.tag}" class="{settings.container.class}" id="{settings.container.id}" hideIfEmpty="1">
<flux:content.render area="column1" />
</v:tag>
</f:section>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment