Skip to content

Instantly share code, notes, and snippets.

@pixelbrackets
Last active August 29, 2015 14:13
Show Gist options
  • Save pixelbrackets/7add6f05664e4613177c to your computer and use it in GitHub Desktop.
Save pixelbrackets/7add6f05664e4613177c to your computer and use it in GitHub Desktop.
Allow/Deny Content Elements in FLUX grids
<!-- Allow ONLY the FCE »Slider« in a column -->
<flux:grid>
<flux:grid.row>
<flux:grid.column name="sliderContent" colPos="1" variables="{allowedContentTypes: 'fluidcontent_content', Fluidcontent: {allowedContentTypes: 'Vendorname.some_extension_key:Slider.html'}}" />
</flux:grid.row>
<flux:grid.row>
<flux:grid.column name="mainContent" colPos="0" variables="{Fluidcontent: {deniedContentTypes: 'Vendorname.some_extension_key:Slider.html'}}" />
</flux:grid.row>
</flux:grid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment