I’ve just begun working with Revo and am using getResources to try and simply pull the content from a MODx resource. I have a MODx Resource with ID 20 that I want to grab some simple content from (it has just an address the client can update for the footer).
Here’s the getResources call:
[[!getResources? &resources=`20` &limit=`1` &tpl=`content_tpl`]]
I created a chunk named "content_tpl" with this value:
It’s just outputting the content for the current page I’m on as opposed to the content from the Resource with ID of 20.
I’m using MODx Revo 2.1.2-pl with the newest getResources 1.3.1