Wordpress-like Tag Cloud Flash »  Show posts from    to     

Icy Phoenix


Old Customizations - Wordpress-like Tag Cloud Flash



nothere [ Fri 13 May, 2011 03:39 ]
Post subject: Wordpress-like Tag Cloud Flash
I’ve always liked the plugin for Wordpress that animates tags in flash. You may have seen/heard of it, WP-Cumulus, see this link: http://wordpress.org/extend/plugins/wp-cumulus/ So, I thought I would make a block in CMS-->CMS Pages-->3 Columns.

It’s fairly easy. You just need to download a couple of files and edit the block relevant to your site.

To start, download the WP-Cumulus plugin from this link.
Extract the two files called: swfobject.js and tagcloud.swf then upload them to either the root of your IP site or create a new folder. Just remember to edit the paths accordingly (if in a different directory).

The original code can be found here, with a demo: http://www.roytanck.com/2008/03/06/...ased-tag-cloud/

Here is an example of what I placed on my site inside the CMS block.

Spoiler: [ Show ]

Take note of the two script tags:
Code: [Hide] [Select]
<script type="text/javascript" src="swfobject.js"></script>

and
Code: [Hide] [Select]
<script type="text/javascript">
var so = new SWFObject("tagcloud.swf", "tagcloud", "600", "400", "7", "#ffffff");

These contain the two files you uploaded to your site and where you would change the path if you created a separate directory for them.

All you need to do is edit the data between the <tag> and </tag>; i.e. replace keywords and the URLs for your site.

Here's the final result:

wp_tag

Suggestions and feedback are welcome.


Joshua203 [ Fri 13 May, 2011 08:12 ]
Post subject: Re: Wordpress-like Tag Cloud Flash
You may want to take a look at this to see if it is difficult to be adapted for icy boards




Powered by Icy Phoenix