We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26113
    • 88 Posts
    I’m trying to have Ditto load content into a page based on a tag, but I keep getting no results.
    My setup is:

    a TV named caseList with about 8 options.
    a Chunk named caseDitto which only uses the content placeholder.
    I have a bunch of pages inside a container (id of 39).
    On a separate page, I call Ditto with the following:

    [[Ditto? &tpl=`caseDitto` &startID=`39` &tagData=`tvcaseList` &tagMode=`onlyTags` &tags=`Erb's Palsy`]]


    I set the variables on the pages on want the set to load, but no results. Any ideas what I am doing wrong?
    If I remove the tag information it works except everything loads.
      • 11975
      • 2,542 Posts
      Hi,

      could try to set the tagDelimiter param to a different value than this set by default " ".
      As your tag value contains a space " " this could be the resaon why you don’t have any results.
      For instance try with &tagdelimiter=`,`


      :-)
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 26113
        • 88 Posts
        Hey -
        That worked - I’m not sure if it was setting the default delimiter or the spaces in the tags.
        The wiki example uses a space for the tag name so maybe the delimiter is mandatory.
          • 18397
          • 3,250 Posts
          "As your tag value contains a space " " this could be the resaon why you don’t have any results."

          This is the reason.