DEPRECATION WARNING

This documentation is not using the current rendering mechanism and will be deleted by December 31st, 2020. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Reference

TypoScript

setup

Property

dataProcessing

Data type

array of class references by full namespace

Description

Add one or multiple processors to manipulate the $data variable of the currently rendered content object, like tt_content or page. The sub- property options can be used to pass parameters to the processor class.

Default

10 = GridElementsTeam\Gridelements\DataProcessing\GridChildrenProcessor

dataProcessing.123.default

Property

default

Data type

Internal

Description

The default setup used by any Grid Element layout that has not got its own setup available. Layouts are assigned by their identifier. Just provide individual blocks myIdentifier{…} for each layout.

Default

default

dataProcessing.123.default.as

Property

as

Data type

Internal / stdWrap

Description

This will be the name of the variable filled with the output generated by the GridChildrenProcessor. You can access it via {children} from within your Fluid template.

Default

children

dataProcessing.123.default.options

Property

options

Data type

Internal

Description

Can contain any of the following options to determine the behaviour of the GridChildrenProcessor.

Default

NA

dataProcessing.123.default.options.sortingDirection

Property

sortingDirection

Data type

String / stdWrap

Description

Determines the sorting direction of the database query for children Must be either desc or asc. Other values will be ignored.

Default

asc

dataProcessing.123.default.options.sortingDirection

Property

sortingField

Data type

String / stdWrap

Description

Determines the sorting field of the database query for children. Can be any fieldname but you have to make sure that the field exists yourself, otherwise the query might fail.

Default

sorting

dataProcessing.123.default.options.recursive

Property

recursive

Data type

Integer / stdWrap

Description

Determines the depth to fetch even children of child records recursively. This way you can use complex nested data structures within a single FLUIDTEMPLATE. The whole tree of children will be handed over to the variable as a data array. Be aware of the fact that this ignores different setups of child elements

Default

0

dataProcessing.123.default.options.resolveFlexFormData

Property

resolveFlexFormData

Data type

Boolean / stdWrap

Description

Determines if FlexForms of children should be resolved and assigned to virtual fields named flexform_my_fieldname.

Default

1

dataProcessing.123.default.options.resolveBackendLayout

Property

resolveBackendLayout

Data type

Boolean / stdWrap

Description

Determines if CE-BackendLayouts of children should be resolved and assigned to virtual fields named tx_gridelements_backend_layout_resolved. Use this information i.e. to generate CSS classes based on layout data.

Default

1

dataProcessing.123.default.options.respectColumns

Property

respectColumns

Data type

Boolean / stdWrap

Description

Determines if layout columns should be recognized and assigned while rendering children. Adds the array key columns to the children array and renders children into their respective columns.

Default

1

dataProcessing.123.default.options.respectRows

Property

respectRows

Data type

Boolean / stdWrap

Description

Determines if layout rows should be recognized and assigned while rendering columns. Adds the array key rows to the children array and the array key columns to each row. Then it renders children into their respective columns. Sets respectColumns internally if not set.

Default

1