We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24530
    • 100 Posts
    Hi!
    I want to use a tagged Blog, but with an easier Categories-setup. I did everything like in the tutorial and changed the structure a little bit:

    Blog entries (id 2)
    |- Blog entry 1
    |- ...
    |- Blog entry n

    Blog viewers (id 61)
    |- Category a
    |- Category b

    The TV [*tags*] Input Option Values: @SELECT pagetitle FROM modx_site_content WHERE `parent` =61 LIMIT 0 , 30;

    ... so the Values for the Checkboxes are created automatically. wink

    This works perfectly. But now the question:

    The page content of the page "Category a" should show only Blog Articles where &tag=[*pagetitle*]. But how does this work?

    [[Ditto? &startID=`2` &summarize=`5` &total=`20` &commentschunk=`Comments` &tpl=`nl_blog` &paginate=`1` &alwaysshow=`1` &tmpl=`nl_blog` &tagData=`tvtags` &tagDelimiter=`,` &tagMode=`onlyTags` &tags=´### here should be an reference to the pagetitle ###´]]
      my newest webpage [url=http://gitarren.zucali.at]Meisterwerkstatt f
      • 18397
      • 3,250 Posts
      Just use &tags=[*pagetitle*]
        • 24530
        • 100 Posts
        I found the mistake!

        [[Ditto? &startID=`2` &summarize=`5` &total=`20` &commentschunk=`Comments` &tpl=`nl_blog` &paginate=`1` &alwaysshow=`1` &tmpl=`nl_blog` &tagData=`tvtags` &tagDelimiter=`,` &tagMode=`onlyTags` &tags=[*pagetitle*]]]

        ... (as I tried it before) doesnt work ...
        BUT

        [!Ditto? &startID=`2` &summarize=`5` &total=`20` &commentschunk=`Comments` &tpl=`nl_blog` &paginate=`1` &alwaysshow=`1` &tmpl=`nl_blog` &tagData=`tvtags` &tagDelimiter=`,` &tagMode=`onlyTags` &tags=[*pagetitle*]!]

        works!
        But does anybody know why? It has something to do with caching ... as far as I know ...

        thx
          my newest webpage [url=http://gitarren.zucali.at]Meisterwerkstatt f
          • 18397
          • 3,250 Posts
          Most likely it has to do with the 0.9.5 parser’s limitation concerning nested tags.

          You might want to remove the &tmpl=`nl_blog` as it is ignored by Ditto