How to create a tag cloud for drupal

In this tutorial I will explain in 5 easy steps how to setup a tag cloud for your drupal site, like the one you see on the left side of this page. It isn't difficult to setup, but I spend some time finding out how to do it. It should work for drupal 5.X

UPDATE:For a very nice 3D flash tag cloud, check out the cumulus module here. It's supported by drupal 5.X and 6.X and it's easier to set up than the methode below.

here are the steps:

1. The modules we need

For a drupal tag cloud, we need 3 modules:

-views
-tagadelic
-tagadelic views

http://ftp.drupal.org/files/projects/views-5.x-1.6.tar.gz
http://ftp.drupal.org/files/projects/tagadelic-5.x-1.0-rc1.tar.gz
http://ftp.drupal.org/files/projects/tagadelic_views-5.x-1.x-dev.tar.gz

if the links don't work any more, just search for them on http://drupal.org

it could be that the last one isn't necessary.

2. Install and enable the modules

extract the archives and sftp (or ftp) them to the 'modules' directory of your webroot. Log into your drupal site and go to

administer > site building > modules

and enable all the new entries.

3. Create a vocabulary category

Go to

administer > content managment > categories

and add a vocabulary.

-Give it a name (I named mine 'Sudosys')
-select a type (Mine was 'page')
-select 'free tagging'

submit

You have just created a vocabulary category!

4. Edit or create new content

When you edit or create content of the type you selected before -in my case 'page'- you will see a new textfield with the name you just gave to your vocabulary category. In my case it was 'Sudosys'. In there you have to put your tags, separated with a comma, to describe your content.

submit

5. Put the tag cloud on your page

Go to

administer > site building > blocks

and find the block with the name 'tags in _the_name_you_gave_it'. For me it was 'tags in Sudosys'. Place it in the region you prefer to enable it. You can also rename it, like I did (=> Sudosys tags)

Don't forget the 'configure' option to , well you know, configure it.

You're done!

Comments

Oh! Perfect job!
Very interesting and helpful post.
Thx, your blog in my RSS reader now

Thanks. :)

Cheers,
Thusjanthan Kubendranathan

Glad I could help :)

Very helpful post. I knew this had to be simple, but I had not found it so simply described before. I finally have my tag cloud running, about a year after I started tagging things! My only complaint is that your site is VERY hard to read--the light gray on black or old school CRT green dries my contact lenses out!

Nice post, thanks!

i was wondering if anyone has gotten this to work in drupal 6??

i can create everything except the "free tagging" as that option is not available under Taxonomy. I can enable the block and the title shows up but the tags never do.

Oh! great job!Thanks alot for sharing this.
Very interesting and helpful post.
blueoo.com

Cheers nice mate.

wow... itz so helpful and easy
thax yaar

hi

than ks man, its really helpful.........so kind of you

Hi,
Am a new bie in drupal am using 6.13 version, i would like to create a web site. here i create one custom content type eg: blo entry.. i nee to add tag cloud in to this blog but could not able to add tag cloud in the custom content type..but able to add in the default content type like page and story? could you please solve my problem..hope that you will reply me soon

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.
RSS feed