Multiple Images in one TemplaVoilà field


/ Published in: TYPO3
Save to your folder(s)

The snippet is splitted in two parts. One in the main template and one in the Templavoila DataStructure XML field. In the TypoScript part the value of the TV field is splitted by "," and the cObj 1 is adapted to the current value. you could also use split options like 1 |*| 2 |*| 3. In this case the first image will be processed in cObj 1 the last in cObj 3 and all images between in cObj 2.

The only limit how much images you can use is the limit in the TV DS, in this expamle is set the to 5 and to 15.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.