Select Page

Joomla tags from Phil Taylor meet Adobe Flash

Joomla tags from Phil Taylor meet Adobe Flash





I did code a small PHP script that should be use in a Cron and that use the component #Joomla tags of Phil Taylor to output a Flash Tag Cloud !

How it works

A small php scripts joomlatags.php run regularly and output a XML file (tags.xml) that will be displayed by tagcloud.swf. This script is currently hardcoded to work with Joomla Tags from Phil Taylor but can be changed according to your needs.



Tag cloud generator

Put the file joomlatags.php OUTSIDE of the root of your site. It must NOT be accessible to by the web server, as it contains the Mysql password in plain text!

Open the file joomlatags.php and change the settings at the beginning of the file, the most important settings are well documented.

Decide how often you would like to update the cloud, and define a Unix Crontab, for example If I would like to refresh my tag cloud at one o’clock in the night, I may define 1 0 * * * *  php /pathto/joomlatags.php

Tag cloud viewer

Copy all others files to the root or directory accessible by apache.

  • index.php
  • swfobject.js
  • tagcloud_serif.swf
  • tagcloud.swf
  • tags.xml

Run at least once the Tag Cloud Generator joomlatags.php

Point your browser to the location where you place index.php


I have more than 1000 tags defined, so in order to keep MY cloud readable, the script joomlatags.php either

  • Allow you to remove tags that are not enough represented
    //tags below this threshold wont be displayed in cloud
    $mintagCount = 2;
  • Or limit the number of entries with SQL
    limit 0, 100;

Don’t output too much tags or it may be slow on some machine.

Output is different in some browser: try Firefox, Internet Explorer, Chrome and Opera. Only Firefox render differently the cloud than all others browser.


Based on

Based on Roy Tanck’s ( WordPress 3D flash tag cloud plug-in, swfobject.js by Geoff Stearns ( for the embedding of the tag cloud.


About The Author

Cédric Walter

I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source projects fueled by my great passion for innovation and blockchain technology.In my technical role as a senior software engineer and Blockchain consultant, I help to define and implement innovative solutions in the scope of both blockchain and traditional products, solutions, and services. I can support the full spectrum of software development activities, starting from analyzing ideas and business cases and up to the production deployment of the solutions.I'm the Founder and CEO of Disruptr GmbH.