We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16123
    • 6 Posts
    Hello, I want to make the tags appear like this:
    /document/tag and not as now /dokument.html?tags=tag
    Thanks in advance for the help
      • 38226
      • 18 Posts
      I'm having problems getting the land the landing page to filter the requested tag, it shows all posts.

      // Sidebar call 
      // tags(categories) show up with the correct count
      [!TvTagCloud? &parent=`26` &landing=`29` &tvTags=`blog-category` &urlParam=`category` &showCount=`1` &displayType=`list`!] 
       
       
      // Landing page
      [!Ditto? &parents=`26` &extenders=`tagging` &tagData=`blog-category` &tagDelimiter=`,`!]
      
      


      Just to confirm I have created a TV "blog-category"

      What am I missing? This seems pretty straight forward.

      thanks for any help!
      Jules
        • 9995
        • 1,613 Posts

        @ juleswebb , I'm not sure, but i think u are missing the [!TvTagCloud? &tagDelim=`,` and also don't tag with spaces.

        ////

        Didn't knew this tagcloud post was there..

        I have a little problem:

        My tags are:
        website (8 ) logo (3) huisstijl (2) (this count is correct)

        But when i click on logo i only see 1 result, when i go to huisstijl i see 2 results, when i click website i see 5 results, although i did tag logo on 3 pages so it needs to show 3 results.

        It's not possible to list a page where i tagged logo and website, the page can only be listed at 1 tag?!


        My code:
        I have a page where tags are shown:

        [!TvTagCloud? 
        &parent=`[*id*]` 
        &landing=`25` 
        &tvTags=`docTags` 
        &showCount=`0` 
        &customDisplayChunk=`tag-inhoud` 
        &tagDelim=`, `
        !]


        When i click on a tag i go to landingpage (overview) showing all tags and ditto results:

        Tags:
        [!TvTagCloud? 
        &parent=`2` 
        &landing=`25` 
        &tvTags=`docTags` 
        &showCount=`1` 
        &customDisplayChunk=`tag-inhoud` 
        &tagDelim=`, `
        !]


        Ditto:
        [!Ditto? 
        &parents=`2` 
        &extenders=`tagging` 
        &tagData=`docTags` 
        &tpl=`tag-inhoud` 
        &display=`all`
        &total=`99`
        &tagDelim=`, `
        &noResults=`No result...`
        !]


        My tags are seperated (delimiter) like: logo, website, huisstijl


        //

        Another question, guess for a seperator i need to check the snippetcode and add it there?

          Evolution user, I like the back-end speed and simplicity smiley
          • 9995
          • 1,613 Posts
          Somehow this does work:

          [!Ditto? 
          &startID=`2` 
          &display=`20` 
          &tpl=`tag-inhoud` 
          &paginate=`1` 
          &alwaysshow=`1` 
          &sortBy=`pagetitle` 
          &sortDir=`asc` 
          &tagData=`docTags` 
          &tagDelimiter=`,`
          !]


          Hope it could help someone
            Evolution user, I like the back-end speed and simplicity smiley
            • 9995
            • 1,613 Posts
            -double post- [ed. note: fourroses666 last edited this post 14 years, 6 months ago.]
              Evolution user, I like the back-end speed and simplicity smiley
              • 9995
              • 1,613 Posts
              Any way to use a seperator between the tags beside hackin the code?
              I have it correct now, only cant get rid of the last / sad

              All classes: <a class="s1" no last or smt


              switch ($displayType) {
              		case 'cloud': 
              			$start = '<div class="tagcloud">';
              			$tpl = '<span><a class="[+class+]" href="[~[+landing+]~][+qs_seperator+][+url_param+]=[+urlencoded_tag+]" title="[+tag+] [+bracketed_count+]">[+tag+] [+bracketed_count+]</a> <span class="red">/</span> </span>'."\r\n";
              			$end =  '</div>';
              		break;



              The only solution could be to start with the seperator and that div margin-left:-10px and overflow hidden :S

              The should be a last of first class or am i missing something sad

              [ed. note: fourroses666 last edited this post 14 years, 6 months ago.]
                Evolution user, I like the back-end speed and simplicity smiley
                • 38226
                • 18 Posts
                Hi fourroses666

                Thanks for the response. I realize that was a pretty old post AND the older version of MODx. I was adding a blog to an older site I had created.

                Because I wasn't able to resolve the issue I posted here I ended up creating an entry for each category and then a separate template to bring in the post excerpts for categories. This worked out fine and gave me the url mysite.com//blog/mycategory

                Thanks for taking the time,
                Jules

                  • 9995
                  • 1,613 Posts
                  Glad it's fixed for u.

                  I'm still looking at a last class or other way to get rid of the last (or first) seperator

                  website / logo / media /
                    Evolution user, I like the back-end speed and simplicity smiley
                    • 9995
                    • 1,613 Posts
                    Ok, just using css3 for this!

                    http://www.quirksmode.org/css/firstchild.html
                      Evolution user, I like the back-end speed and simplicity smiley
                      • 39201
                      • 10 Posts
                      Having a problem (modx 1.0.4, tvtagcloud 2.2): having gone through the tag list for my videos, pruning out ones that aren't really needed, I found that tvtagcloud still generates an entry for tags that are no longer used. (Clicking on it pulls up an empty Ditto feed.)

                      Am slightly confused by this.