1. You need to specify a &tpl property with the name of your Chunk you’re using.
2. &extenders is not a getResources property.
[[!getresources? &idx=`2` &limit=`1` &includeContent=`1` &tpl=`articleIntro`]]
<div class="article">
<h2 class="news-title"><a href="[[~[[+id]]]]">[[+pagetitle]]</a></h2>
<p class="post-info">Posted on [[+publishedon:strtotime:date=`%b %d, %Y`]]</p>
<div class="news-entry">
<p>[[+introtext]]</p>
</div>
<p class="postmeta"><a href="[[~[[+id]]]]" class="readmore">Read more</a></p>
</div>
[[!getresources? &idx=`2` &limit=`1` &includeContent=`1` &tpl=`articleIntro`]]But nothing is output
Quote from: derelin at Oct 15, 2010, 08:41 AM
[[!getresources? &idx=`2` &limit=`1` &includeContent=`1` &tpl=`articleIntro`]]But nothing is output
1. &idx is not a value you want to use. You should be using &parents
2. Use [[!getResources, not [[!getresources (case-sensitivity matters).
Thanks for the link but nothing in there explains how to show just one particular resource.
http://rtfm.modx.com/display/addon/getResources/
How can i get
You should look into the getResourceField snippet.
getResourceFieldto display the output pagetitle as a url to the page? Does this snippet support chunks as templates?