Hi,
I'm having a big issue with get resources not showing any output.
I have a container call products (id20). Inside this i have another container called product-type (id21).
Inside this continer I have my products, each as a separate document. e.g Product A (id22), Product B (id23)
Here is my getResources call that appears on my 'product-type' page:
[[!getResources? &parents=`[[*id]]` &tpl=`product_list` &includeTVs=`1` &processTVs=`1` &showHidden=`true`]]
Here is my chunk:
<div class="productlist">
[[*product_image]]
<h2><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a></h2>
<p class="summary">[[+introtext]]</p>
<p class="readmore"><a href="[[~[[+id]]]]"><span>Read more</span></a></p>
<div class="clear"></div>
</div>
<hr/>
For some reason getRources just won't show anything unless I manually add in all the individual resources by hand e.g.
&resources=`22,23,24,25,26`
Which of course isn't what I want. I want all the resources under the parent 'product-type' to be shown.
Can anyone help please?