Monday, August 17, 2009

How to add a flash tag cloud to your blogger

tagcloudicon From this tutorial, you will be able to add a flash tag cloud to your blogger, but before you start this tutorial, make sure you have the latest flash player downloaded, enabled, and working properly. Having a tag cloud can save you a hefty amount of space on your blog and the loading time length for your readers. Before attempting any tutorial, make sure you back-up your existing template just in case it doesn’t turn out as expected.


Steps to follow:

1. Login to your Blogger dashboard

2. Go to Layout > Edit HTML (Do not click on “expand widgets” box)

3. Search for the following section code:

<b:section class='sidebar' id='sidebar' preferred='yes'>

copy and paste the following section code below immediately it…

<b:widget id='Label99' locked='false' title='Labels' type='Label'>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<script src='http://halotemplates.s3.amazonaws.com/wp-cumulus-example/swfobject.js' type='text/javascript'/>
<div id='flashcontent'>Blogumulus by <a href='http://www.roytanck.com/'>Roy Tanck</a> and <a href='http://www.bloggerbuster.com'>Amanda Fazani</a></div>
<script type='text/javascript'>
var so = new SWFObject(&quot;http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;240&quot;, &quot;300&quot;, &quot;7&quot;, &quot;#ffffff&quot;);
// uncomment next line to enable transparency
//so.addParam(&quot;wmode&quot;, &quot;transparent&quot;);
so.addVariable(&quot;tcolor&quot;, &quot;0x333333&quot;);
so.addVariable(&quot;mode&quot;, &quot;tags&quot;);
so.addVariable(&quot;distr&quot;, &quot;true&quot;);
so.addVariable(&quot;tspeed&quot;, &quot;100&quot;);
so.addVariable(&quot;tagcloud&quot;, &quot;<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='12'><data:label.name/></a></b:loop></tags>&quot;);
so.addParam(&quot;allowScriptAccess&quot;, &quot;always&quot;);
so.write(&quot;flashcontent&quot;);
</script>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>

4. Next, click Save, and preview your template. If all works fine, Save Template.

Note: This script contains the following preset variables. To modify width(240) or height(300):

var so = new SWFObject("http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf", "tagcloud", "240", "300", "7", "#ffffff");

Note: To modify background color(#ffffff):

var so = new SWFObject("http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf", "tagcloud", "240", "300", "7", "#ffffff");

Note: To modify font size(12):

so.addVariable("tagcloud", "<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='12'><data:label.name/></a></b:loop></tags>");

Note: Please keep all credits intact.

Labels: , ,

2 Comments:

Blogger sandy.chaf said...

How to create feeds for website? Atom/RSS
http://www.technoveda.net

August 18, 2009  
Blogger psydex said...

but i do not have any " " on my template ??? what should i do! I really want this one! btw i love your blog it's really useful but the design suxx! (old one was better) !

January 25, 2010  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home