-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Taggly
Taggly is a customizable CodeIgniter library that makes creating tag-clouds a snap. You can choose to use its basic functionality, or customize your tag-cloud by setting configurations options.
[b]What is a Tag-Cloud?[/b] A tag-cloud is a collection of text links with varying size (and sometimes color) based on their popularity. Sites such as Flickr, Delicious and Tag-A-Cloud use this concept.
[b]What does it look like?[/b] [url=http://qompile.com/demos/taggly]See Taggly in action[/url]
[b]What is the syntax?[/b] The syntax in its very basic form is this: [code] $myArray = array ( array(10, 'PHP', 'http://php.com'), array(32, 'MySQL', 'http://mysql.com'), array(5, 'CSS', 'http://css.com') );
echo $this->taggly->cloud($myArray); [/code]
You can get more complex by passing configuration parameters: [code]$configArray = array ( 'min_font' => 20, 'max_font' => 60, 'html_start' => '
echo $this->taggly->cloud($myArray, $configArray);[/code]
[b]Taggly Output[/b] Taggly creates and returns links with defined sizes based on the data given in your array.
An example output: [code]Hue Image Ready Background CodeIgniter Encode Depth Grafix Adobe[/code]
You can find more information in the User Guide included in the Taggly download package.