We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41149
    • 43 Posts
    How does one call multiple getResources calls on a given template? In my instance, I have two being called with the following syntax.

    <h2>First Call</h2>
    [[!getResources? &parents=`[[*playersContainer]]` &tpl=`rosterteamTpl` &showHidden=`1` &includeContent=`1` &limit=`` &includeTVs=`1` &processTVs=`1`]]
    <h2>Second Call</h2>
    [[!getResources? &parents=`[[*managementContainer]]` &tpl=`rosterteamTpl` &showHidden=`1` &includeContent=`1` &limit=`` &includeTVs=`1` &processTVs=`1`]]
    


    The first call gets output, the second doesn't.

    Is this a problem with MODx or getResources?

    I am using: MODX Revolution 2.2.6-pl (traditional)
    In a: LAMP Environment

    Thank you,
    Aaron
      The web is our sandbox, so let's develop a castle.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Try them cached. Don't know if that will help, but these shouldn't be uncached unless they really need to be for some reason.
        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
        • 22303 MODX Staff
        • 10,725 Posts
        If you comment out the first one-just prefix the tag with a dash, e.g.
        [[-!getResources?

        does the second one produce any output?
          • 41149
          • 43 Posts
          It does now. Thank you!
            The web is our sandbox, so let's develop a castle.