Issue Feature Rejected

#62593flexible templating: usage of glue-separated list in f:for

Dieter Porth 11/01/14, 10:10 updated 09/24/15, 00:48

Description

I want to convert from a comma-separated list into an array.
I want to use that array in a FOR-object Fluid-templates – for example to generate a list of links.
The comma separated list should be maintainable in the constants editor of the TYPO3-backend, because I collect all specific website-parameters in the constants.

Unfortunately, I can not convert a string to an array in the f:for-Object (TYPO3 6.2.6).
I currently use the following work-around using the VHS-extension: (I don’t not need that extension otherwise):

Example:

    <f:for each="{v:iterator.explode(content: '{lib_config ->f:format.raw()}', glue: ',')}" as="value">
        <f:uri.page pageUid="{value}" additionalParams="{L:'1'}" /><br />
    </f:for>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.