I’m trying to load a product channel based on the url-title, but this doesn’t seem to work.
I nest an image loop inside the channel loops, that works fine.
But I do want to list another channel as well, could someone look into this?
Thanks
FIRST PART
{exp:channel:entries}
{body}
<!-- LOOP TROUGH IMAGES -->
{exp:channel_images:images entry_id="{entry_id}" limit="12" orderby="random"}
<div class="thumb" id="thumb-{image:count}"><a href="http://{image:url:large}">" title="" alt=""]{image:url:small}</a></div>
{/exp:channel_images:images}
{/exp:channel:entries}SECOND PART
Needs to be integrated in the first part cause I need the {url_title}
{exp:channel:entries channel="products-{url_title}" dynamic="off"}
<div class="excerpt {switch="odd|even"}">
<h2>{title}</h2>
<p> {if product-afbeelding}<br />
{product-afbeelding}<br />
{/if}<br />
{product-body}<br />
</div><br />
{/exp:channel:entries}