We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29181
    • 480 Posts
    I followed the excellent screencast on this and everything is working, apart from the fact that I cannot get the [+tags+] placeholder to display anything outside of the ditto template (unlike in the example).

    [!Ditto? &startID=`23` &extenders=`summary,dateFilter` &tagData=`documentTags` &tagDocumentID=`118` &tpl=`test_tpl` &display=`all`!]


    I have thrown in a few [+tags+] and [+tagLinks+] in various places to try and get it to display something, but when I am at a page like http://localhost/modx/index.php?id=118&tags=cheese&start=0 and would expect to see [+tags+] replaced by cheese...it doesnt happen.

    In the ditto template however it will replace [+tags+] with cheese.

    I’m using 0.9.6.1p2 and Ditto 2.0.2.

    Thanks for any pointers!
    Taff
      Adrian Lawley: www.adrianlawley.com
      • 36416
      • 589 Posts
      Quote from: Taff at Oct 20, 2008, 02:56 AM

      ...and would expect to see [+tags+] replaced by cheese...it doesnt happen.
      In the ditto template however it will replace [+tags+] with cheese.

      This is with PHx plugin enabled & page cached?
        • 29181
        • 480 Posts
        The page isn’t being cached, but I am using PHX (to optimise a couple of templates for multilingual content).

        Is that the problem? If so, is there a workaround?

        Thanks for answering,
        Taff

        [EDIT] I simply added a snippet to place the tags, something along these lines...
        <?php
        $tags=$_REQUEST['tags'];
        return $tags;
        ?>
        


        Thanks again for pointing me in the right direction!
          Adrian Lawley: www.adrianlawley.com