Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Important security fix: 2.1.10, released 4 May.

Tagging plugin, show only a limited number of tags

edited April 2011 in Vanilla 2.0 Help
Hi, is there some way that you can show only say.. 7 tags on the right tab, when using the tagging plugin? (popular tags)
Tagged:

Comments

  • i would very much like that. Like it happens on Vanilla forum itself. I had to disable tagging because my webpage showed a list of like 30 never ending tags, creating a huge scroll down bar ! can someone help? this was posted in 2011 and its 2012 now! No solution?

  • sahotataransahotataran Developer, Bay Area - CA ✭✭✭

    go to your tagging plugin folder.

    find class.tagmodule.php

    find

          $this->_TagData = $SQL
             ->Select('t.*')
             ->From('Tag t')
             ->OrderBy('t.CountDiscussions', 'desc')
             ->Limit(25)
             ->Get();

    for my file it was at lines 32,33,34,35,36

    change the limit to the number of tags you want to display :)

    Theme Charcha for great desktop and mobile experience! - drop me a message :)

    forteller
Sign In or Register to comment.