Hi guys,
I'm getting some weirdness with geResources
Here's my call:
[[!getResources:default=`No results found`? &parents=`-1` &resources=`1,2,3` &tpl=`similarProductsTpl` &depth=`1` &hideContainers=`0` &sortBy=`pagetitle` &sortdir=`ASC` &includeTVs=`1` &processTVs=`1`]]
This is my template:
<li>
<a href="[[~[[+id]]]]"><img src="[[*Image_1:phpthumbof=`w=67&h=67&zc=1&q=95`]]" alt="[[+menutitle]]">
<div class="info">
<p>[[+menutitle]]</p>
</div>
</a>
</li>
As you can see I specify various resource ID's from which I pull an image which is thumbnailed with phpthumbs.
These results are displayed at 2 levels - Product name and Alternative views.
Section
-- Product name (1)
---- Alternative Views (4)
-- Product name (2)
---- Alternative Views (5)
-- Product name (3)
---- Alternative Views (6)
The correct data is displayed at level 2 (product name).
Mostly correct data is displayed at level 3 (Alternative views) however the image thumbnail displayed belongs to the Alternative Views resource and not the resource ID specified in &resources.
Is this a bug or as I missing something really obvious here?
Thanks.
[ed. note: lokust last edited this post 14 years, 7 months ago.]