We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15472
    • 14 Posts
    Trying to use TVs with Ditto and having no luck. This seems to be a common problem and after reading through a dozen+ posts, I am finally resorting to a post.

    Here’s my current call:
    [!Ditto? &startID=`64` &tagDelimiter=`,` &tagData=`Tags`  &tags=`music` !]


    Setup:
    TV= text using commas as delimiters (ex: apple, orange, banana) *no spaces
    Running latest versions of MODx and Ditto. Have even reinstalled both to make sure.

    I’m repeatedly getting "No Entries Found".

    Any suggestions?
      • 15472
      • 14 Posts
      Fixed... Should include &hiddenTVs= in the string.

      This should probably be made clearer in the documentation and examples (especially for cloud tags and tagging) since I ran across quite a few posts similar to mine.
        • 18397
        • 3,250 Posts
        Tag data should be tvTags not Tags. That is why your origional call was not working. You MUST prefix all tvs with tv for the autodetection scheme to work.
          • 15472
          • 14 Posts
          Mark, you’re right, but that was not the problem... I’d typed the above incorrectly when posting (rather than pasting since I was not in my installation of MODx at the time). The problem was resolved by using the hiddenTVs tag. Here’s the working code...

          [!Ditto? &startID=`64` &tagDelimiter=`,` &tagData=`tvTags` &hiddenTVs=`Tags` &paginate=`1` &paginateAlwaysShowLinks=`1`!]
            • 18397
            • 3,250 Posts
            Can you run the above call without hiddenTVS and append &debug=`1`. Then copy and paste the results in a code block here? This should let me know what is going on.