We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27117
    • 28 Posts
    Hi

    Just installed getResource from package management. Installation was successful but when I try to call it in the content field like this:
    [[!getResources? &parents=`[[*id]]`]]  
    I get no results. Just my Layout is there but no listing.

    I tried the same with Ditto and there I get some results.

    I try to list 5 weblinks that are all childs of id 21.

    What I am doing wrong huh

      Modx 2.1.3, PHP 5.2
      • 22019
      • 390 Posts
      Have you read http://rtfm.modx.com/display/ADDON/getResources?

      Check that the weblinks are not hidden from menus and that they are published (or override the defaults in your getResources call). As you don’t have a tpl chunk in your getResources call MODx will output an array for your resource list.
        Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86
        • 27117
        • 28 Posts
        Thank you for the link. After intensive searching in the forum, I found the solution. The problem was, that my weblinks and the container where hidden. I just hide the container now and everything works perfectly! grin
          Modx 2.1.3, PHP 5.2