Hi,
I’d originally asked this question here:
http://modxcms.com/forums/index.php/topic,52110.0.html
I’ve reposted it here, since this is the place for getResources questions.
Background:
After I installed the getResources package, it did not create a getResources snippet for me.
I manually created a snippet called "getResources" which includes the file from core/components/getresources/snippet.getresources.php.
Also, I had to make by documents published, because getResources only returns published documents.
Question:
I’m calling getResources like this:
[[!getResources? &parents=`14` &includeContent=`1` &includeTVs=`1` &tpl=`featuredArticle`]]
My featuredArticle chunk looks like this:
Testing: 1,2,3 <br />
[[+pagetitle]]
<br /><br />
[[+content]]
I see that the snippet is running, by looking the queries run through MySQL’s query logs. It runs two queries, both of which return the data I’m looking for.
However, the data is not displayed. Even if I remove the tpl parameter, nothing is displayed.
Any help would be appreciated. Thanks!