Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I want to do this by making the theme function more powerfull. Then you can make the tags appear like:
mytag (123) if you want. Etc.
another really cool thing would be to make tag clouds of image galleries: use thumbnails in several sizes, etc. But that is all about display: about themes.
If so, how? And what file(s) would need to be modified, and where?
I've been trying to mash-up the excellent sorting capabilities (and variable font settings, tks to it's own css file) with the node counting capability of this snippet: http://drupal.org/node/192457 (which does indeed display node counts, but looks like %#&*).
Any ideas of where I need to go and/or what I need to do?
Comments
Comment #1
Bèr Kessels commentedI want to do this by making the theme function more powerfull. Then you can make the tags appear like:
mytag (123) if you want. Etc.
another really cool thing would be to make tag clouds of image galleries: use thumbnails in several sizes, etc. But that is all about display: about themes.
Comment #2
arsart commentedRevealing old feature request. Can we print the number of nodes near tags for 4.7.0? Would be very useful feature.
Thanks in advance!
Comment #3
Bèr Kessels commentedthis is now possible in theme_tagadelic_weighted(), please use HEAD version of tagadelic, wich runs fine on drupal 4.7
Comment #4
arsart commentedemm... sorry can't get any reference in a code to nodes count per tag.
Can you please show the way how to print the number of nodes in a tag?
Comment #5
Bèr Kessels commentedSomething in line of
If this works, could you do me a favour back and post a small manual or tiny howto under http://drupal.org/handbook/modules/tagadelic ?
Comment #6
arsart commented"$term->count" prints nothing - empty data:(
Comment #7
Bèr Kessels commented... on a CVS?
try dprint_r and check all available variables. $tag->number_of_posts is one, for example.
Comment #8
(not verified) commentedComment #9
brewreview.info commentedHas anyone gotten this to work with version 5.x?
If so, how? And what file(s) would need to be modified, and where?
I've been trying to mash-up the excellent sorting capabilities (and variable font settings, tks to it's own css file) with the node counting capability of this snippet: http://drupal.org/node/192457 (which does indeed display node counts, but looks like %#&*).
Any ideas of where I need to go and/or what I need to do?
Cheers!
//TB
Comment #10
Bèr Kessels commentedclosing this issue. IT is by design: we don't show the count. You can override this in yoru theme if you wish.