We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17412
    • 270 Posts
    Hiya.
    I’ve been trying to craft a ditto call that will list only my specified tags in a way that they can be navigated as if a category menu.

    Is this possible? It has to be I’m sure though I can’t find any info on this.

    Thanks..
      • 5091
      • 332 Posts
      chinesedream Reply #2, 19 years ago
      Maybe this will help?
      http://ditto.modxcms.com/screencast/tagging.html
      or look into modx’ demo admin from opensource cms site.

      As for how you want the menu display, create a chunk with markup like so:

      <li><a href="[~[+id+]~]" title="[+title+]">[+tagLinks+]</a></li>



        • 17412
        • 270 Posts
        I have the default behaviour working just fine with tags printed into the news index listing page.
        What I’m trying to do is create a side column navigation menu from the tags.

        Currently this is my Ditto call:

        [!Ditto? &startID=`2` &tpl=`ditto_tags` &tagData=`documentTags` &tagDelimiter=`,`!]


        It’s listing only one Tag that has been set in the TV documentTags - it’s a start though I need to list all tags :0
          • 33337
          • 3,975 Posts
          Zaigham (aka zi) Reply #4, 19 years ago
          You need to use TvTagCloud snippet.
            Zaigham R - MODX Professional | Skype | Email | Twitter

            Digging the interwebs for #MODX gems and bringing it to you. modx.link
            • 17412
            • 270 Posts
            thanks (again) Zi - that works perfectly!

            Another thing I’d like to do and again I’m unsure if it’s actually possible - is to grab the latest headlines (item title) for a specific tag. As ever with Modx, I’m sure it’s possible - though as to whether the code exists to do this - I haven’t yet found any.
              • 33337
              • 3,975 Posts
              Zaigham (aka zi) Reply #6, 19 years ago
              Its surely possible, but I am not aware of any code available as yet. You will have to modify the TVTagCloud snippet I guess.
                Zaigham R - MODX Professional | Skype | Email | Twitter

                Digging the interwebs for #MODX gems and bringing it to you. modx.link
                • 17412
                • 270 Posts
                Quote from: zi at Sep 07, 2007, 04:25 AM

                Its surely possible, but I am not aware of any code available as yet. You will have to modify the TVTagCloud snippet I guess.

                Thanks Zi - I’ll give it some more thought