swissgregi
Member
I have a fileupload field named "bild" where i upload pictures.
I made my own detail template. To access the pictures i use this foreach which works great.
Now i want to do the exact same on the list view template.
But there are no groups. How can i access the single pictures?
Thanks for any help
I made my own detail template. To access the pictures i use this foreach which works great.
PHP:
<ul id="lightSlider">
<?php foreach ($this->groups[Maschinen]->elements[bild]->value as $bild) { ?>
<li data-thumb="<?php print $bild; ?>">
<img src="<?php print $bild; ?>" />
</li>
<?php } ?>
</ul>
Now i want to do the exact same on the list view template.
But there are no groups. How can i access the single pictures?
Thanks for any help