Fork me on GitHub
Current releases are 2.1 (gold) and 2.0.18.11 (security patch for 2.0)
Ready for 2.1? Find out if your favorite plugins are compatible.
The 2.0 branch will no longer receive updates after Dec 2014.

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.