Demo: Interfacing the Tagadelic Module
Bèr Kessels recently opened his cooool drupal module /tagadelic/, so that it is easier for other modules to build their own tag clouds.
// The tagadelic_get_weighted_tags() function
// is broken up in two functions now:
function tagadelic_get_weighted_tags($vids, $steps = 6, $size = 60)
//
//and
function tagadelic_build_weighted_tags($result, $steps = 6)
This allows other modules to pass in their own database query results to tagadalize them. Like in this example:
In this QOD module I used tabs.module (4.7) and tagadelic.module (HEAD - check on cvs.drupal.org), to create a tabbed tag cloud on two vocabularies over four different time periods each. Check out tabatagadelic.module, attached to this post.
| Preview | Attachment | Size |
|---|---|---|
| tabagagadelic.tar.gz | 2.34 KB | |
| tabatagadelic.zip | 2.46 KB |

15 Comments
I would love to see this in 5.x
This is such a wonderful module, I would love to see it working in 5.x.
Update to support Drupal 5.x?
Any chance of upgrading this module to support Drupal 5.x?
what's better?
So i have this question : Whats better Drupal or Akismet ? Can somebody enlighten me ?
article
Brilliant idea Alexander. btw. I really enjoyed reading all of your articles. It’s interesting to read ideas, and observations from someone else’s point of view… makes you think more. Keep up the good work. Greetings
Clean up tags
Is there an easy way to batch delete or merge tags? I enabled free tagging and people have made a mess of it, adding lots of redundant & useless tags. I plan to install taxonomy_limit, but it's too late for what's already there.
hi mike, i don't know about
hi mike, i don't know about such a system, but am definitely in need for this. basically i want a central place where to identify tags as synonyms. keep me posted of any solutions you are running into, i ll do the same.
module not attached
There does not seem to be an attachment available for anon users.
oups
here it is - i stripped some project specific code in the last minute. let me know how it is going.
The attached file is not a module
Sorry to bother you again but the attached file seems to be an error page not a module.
o dear :) - try it again.
o dear :) - try it again.
At least I cannot download it as a module
Maybe anonymous cannt download? To reproduce try to log out and see if you can get the module.
I checked as anonymous
- it works for both files, the .zip and the .tar.gz . I am having problems downloading the tar.gz on IE, though. If you send me an email to my first name @ domain of this page, I ll send you the module by mail.
I get an error:
I get an error:
Fatal error: Call to undefined function: resultcache_getresult() in /www/drupal/modules/tabatagadelic/tabatagadelic.module on line 151
convert those
convert those functions
resultcache_getresult("funcname", arg1, arg2)
should become
funcame(arg1, arg2)
Nice!
Very interesting! I found the new tagadelic module awesome, but this raises the bar! Sadly, I can't find the mentionned attachment (and your captcha is horrible, it doesn't show all the letters, some are cut out at the top of the image).
Can't wait to try your new module ;)