content.render¶
Renders all child content of a record based on the area name.
The area
is the name
attribute of the <grid.column>
that shall
be rendered.
Example: Render all child elements of one grid column¶
fluidcontent
element with one column of child elements:
- <f:section name="Configuration">
- <flux:grid>
- <flux:grid.row>
<flux:grid.column name="teaser" colPos="0"/>
</flux:grid.row>
</flux:grid>
</f:section>
- <f:section name="Main">
- <div style="border: 1px solid red">
<flux:content.render area="teaser"/>
</div>
</f:section>
Arguments¶
area¶
- DataType
string
- Required
true
- Description
Name or "colPos" value of the content area to render
limit¶
- DataType
integer
- Required
false
- Description
Optional limit to the number of content elements to render
offset¶
- DataType
integer
- Required
false
- Description
Optional offset to the limit
order¶
- DataType
string
- Default
'sorting'
- Required
false
- Description
Optional sort order of content elements - RAND() supported
sortDirection¶
- DataType
string
- Default
'ASC'
- Required
false
- Description
Optional sort direction of content elements
as¶
- DataType
string
- Required
false
- Description
Variable name to register, then render child content and insert all results as an array of records
loadRegister¶
- DataType
mixed
- Required
false
- Description
List of LOAD_REGISTER variable
render¶
- DataType
boolean
- Default
true
- Required
false
- Description
Optional returning variable as original table rows
hideUntranslated¶
- DataType
boolean
- Required
false
- Description
Exclude untranslated records