We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37213
    • 25 Posts
    Everything is working fine the getRescoures with &tvFilter, got the results in a drop down list. Some of the TV's are duplicated, how can I solve this issue. With a snippet or is there any placeholders in getResources for this. Who can help me to the right direction, thanks for your help...
      • 36502 ☆ A M B ☆
      • 491 Posts
      You should give us some more information, for example the calling of your getResources,
      do you call it cacheable or not?
        TilliLab | MODX Ambassador
        website
        • 37213
        • 25 Posts
        My apologize for my incomplete information. This is what I have, thanks.

        [ [ !getResources? &parents=`2` &tpl=`dropdownList` &includeTVs=`1` &processTVs=`1` &tvFilter=`tv.country`] ]

        [ed. note: viewsonic last edited this post 14 years, 10 months ago.]
          • 1441
          • 61 Posts
          Mmm. Looks like an old post, but I figured someone might still be there.

          You're missing an operator. &tvFilter=`tv.country` should be something like &tvFilter=`tv.country==US` so the filter has something to do. Check out the documentation for more operators...

          http://rtfm.modx.com/display/ADDON/getResources