...overview of the extension...
...requirements of using this extension (e.g. Yii 1.1 or above)...
Tagcloud accepts either an array, or an array of objects
ex1. Here we pass an array and it will display the tagcloud with just 2 tags.
<?php
--view--
$tags= array('tag1','tag2');
$this->widget('application.extensions.cumulus.Tagcloud.php',
array(
'tags' =>$tags,
));
?>
ex2. Here we pass an array of objects and it will display the tagcloud with all items in the object array
<?php
--view--
$tags= Tag::model()->findall();
$this->widget('application.extensions.cumulus.Tagcloud.php',
array(
'tags' =>$tags,
));
?>
...xternal resources for this extension...
Be the first person to leave a comment
Please login to leave your comment.