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 setup tagging which I’ve reviewed the online tutorial, but for some reason, no documents are being returned.
    Here is the Ditto call being used on both my tag results page.

    [[Ditto?startID=`2` &tagData=`articleTags`&tagDocumentID=`20` &tagDelimiter=`, `  &tpl=`article_list` &article_list_last`]]


    and the Ditto call on my blog results page.
    [[Ditto?startID=`3` &tagData=`articleTags`&tagDocumentID=`20` &tagDelimiter=`, `  &tpl=`article_list` &article_list_last`]]


    Here’s where you can see the output.
    http://battr.divvies.com/articles/featured.html

    Any help on this would be great.
    Rich

      • 11975
      • 2,542 Posts
      Hi,

      call the snippet uncached

      [!Ditto?startID=`3` &tagData=`articleTags`&tagDocumentID=`20` &tagDelimiter=`, ` &tpl=`article_list` &article_list_last`!]

      :-)
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 26113
        • 88 Posts
        The tag landing page was uncached already.
          • 33337
          • 3,975 Posts
          Zaigham (aka zi) Reply #4, 19 years ago
          Are you using simple comma OR a space with comma actually?

          i.e. tag1, tag2 tag3

          OR

          tag1,tag2,tag3

          If 1st, then call is correct. otherwise you should use &tagDelimiter=`,` ... notice no spaces.
            Zaigham R - MODX Professional | Skype | Email | Twitter

            Digging the interwebs for #MODX gems and bringing it to you. modx.link
            • 33337
            • 3,975 Posts
            Zaigham (aka zi) Reply #5, 19 years ago
            OR..

            you are using different &startID .. this can be issue.
              Zaigham R - MODX Professional | Skype | Email | Twitter

              Digging the interwebs for #MODX gems and bringing it to you. modx.link
              • 17673
              • 194 Posts
              What’s &article_list_last` ??!?

              maybe you mean &tplLast=`article_list_last`
                ----------------------------------------------------------
                http://www.linkedin.com/in/lucapost/
                http://www.twitter.com/lukwe/
                ----------------------------------------------------------
                • 26113
                • 88 Posts
                zl-
                &startID or &startId seems to work the same - can anyone confirm any differences?
                I did change up my tagDelimiter paramter but it still is returning no documents.


                lukwe -
                you are right there - fixed that but its not changing my results here.
                The tag landing page is set to not cacheable, so the Ditto call should not be cached.

                I’m not sure what I am missing here, how can I troubleshoot this otherwise?
                  • 11975
                  • 2,542 Posts
                  Hi,

                  to get more information about what’s happening set the debug param to 1
                  and post the results here.

                  :-)
                    Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
                    • 26113
                    • 88 Posts
                    Ok - Here is the html file the debug generated.
                    Changed it to .txt so I can attach here.


                      • 17673
                      • 194 Posts
                      I don’t know how you got the Related Tags on the page, since I believe you need at least &extenders=`Tagging` in order to use any other tag-related ditto parameter.
                        ----------------------------------------------------------
                        http://www.linkedin.com/in/lucapost/
                        http://www.twitter.com/lukwe/
                        ----------------------------------------------------------