Ok. I can confirm changing %resources to &parent worked.
Now getResources is alive I'm trying to achieve this: I want the children (actually links to them) of the resource A to be printed on resource A.
The children are static resources. So I have my getreource call placed in the current
[[!getResources? &parents=`[[+ids]]`&tpl=`PDFlinktpl`&includeTVs=`1`&includeContent=`1`]]
The output of PDFlinktpl is a link linking to the specific child resource. Here is PDFlinktpl:
<tr class="row">
<td width="9%">1.</td>
<td width="64%"><p>[[+introtext]]</p></td>
<td width="27%"><p><a href="[[~[[+id]]]]">Download</a> (<img src="/assets/mytemplates/sitefolder/asset/images/pdficon_small.gif" height="17" width="17" class="icon" alt="pdf icon" />
PDF, [[+tv.docpages]] pages - [[filesize?&file=`[[+content]]`]])</p></td>
</tr>
The intention is for the user to be able to view resource A and see a list of links (linking to the various child resources under resource A). But right now testing with a single resource, I find that any link to resource A behaves as if linking to the child static resource. So stead of displaying resource A, the static resource is being downloaded.
I'm struggling to paint the scenario, I hope you get what I intend and what I'm getting?