GetSimple Support Forum
Request Fancy TagClouds! - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Request Fancy TagClouds! (/showthread.php?tid=2523)



Request Fancy TagClouds! - bangkak - 2011-12-21

Can GS used fancy tagclouds like this : http://premiumcoding.com/wordpress-tags-plugin/
Help Me?


Request Fancy TagClouds! - Connie - 2011-12-21

for sure this is possible to be done
but as far as I see there is no such plugin out in the moment / until now


Request Fancy TagClouds! - RobA - 2011-12-22

You can use a 3rd party solution:

Install i18n serach: http://mvlcek.bplaced.net/get-simple/i18nsearch/

This provides tag clouds and the call return_i18n_tags()
Quote:returns an ordered array, where the key is the tag and the value is an array of urls (slugs) using that tag. Tags starting with "_" are ignored.

Then use something like the cumulus tag cloud swf: http://www.roytanck.com/2008/05/19/how-to-repurpose-my-tag-cloud-flash-movie/

You just need to create the xml stylevar using a bit of php to have this format:
Code:
<tags>
  <a href="http://www.roytanck.com/tag1" style="font-size:9pt;" >Tag name</a>
  <a href="http://www.roytanck.com/tag2" target="_blank" style="font-size:12pt;" >Tag two</a>
  ...
</tags>

off the top of my head, something like this should work:
Code:
$stylevartags = '<tags>';
$alltags = return_i18n_tags();
foreach ($alltags $tag => $slugarray) {
  $link= 'search/?tags=' .  $tag;
  $size = 9 + count($slugarray);  // or whatever function you want to convert instances to text size
  $stylevartags .= '<a href="' . $link . '" style="font-size:' . $size . 'pt;" >' . $tag . '</a>';
}
$stylevartags .= '</tags>';

(code not tested...)

-Rob A>


Request Fancy TagClouds! - bangkak - 2011-12-22

The way it is too difficult for me. Okay, I'll wait for plugins development rather than to be bothered. Smile
I just wanted TagsClouds of plugins "News Manager" Only instead of the GS page.
Thanks!