Moritz Kühnel
Moritz Kühnel

Reputation: 11

Gridelements and fluid styled content

I use Gridelements with a custom FLUIDTEMPLATE

Inside my FLUIDTEMPLATE I want to get the images/file references of my textmedia content elements (fluid_styled_content).

I also tried to use the Dataprocessing without success.

Upvotes: 0

Views: 159

Answers (1)

SteveLeg
SteveLeg

Reputation: 89

You can try something like this for News:

<f:if condition="{newsItem.relatedFiles}">
    <ul>
        <f:for each="{newsItem.relatedFiles}" as="relatedFile">
            <li>
                {relatedFile.title}
                {relatedFile.file}
            </li>
        </f:for>
    </ul>
</f:if>

Upvotes: 0

Related Questions