We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39732
    • 4 Posts
    So I am in the middle of setting up a new site. Installed get resources. Not working. Uninstalled and reinstalled the package. Not working.

    Created a blank test page with just the call to verify i get an array and that it is working. nada. Anyone have any thoughts??

    [[!getResources]]
      • 38290
      • 712 Posts
      If you don't pass a parent it defaults to the current resource. Does the current resource have children that are published and not hidden from menu?
        jpdevries
        • 42046
        • 436 Posts
        You need to specify a template with &tpl otherwise it will output an array.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Created a blank test page with just the call to verify i get an array and that it is working. nada.
          If just an empty [[getResources]] call isn't producing a debug array, then something is very wrong. That is, if the current resource has children...
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 39732
            • 4 Posts
            Thanks all, blonde moment. The resources under the Home page where not actually a child of home but equal. Hence why I got nada.