Monday 09 November 2009 4:52:59 am
Piotrek and i have had a quick chat on that issue, and i've made a few changes as a result. The limit for the tag cloud is currently defined by a class attribute variable, eg:
{eztagcloud( hash( 'class_identifier', false(),
'parent_node_id', $data_map.parent_object.content.main_node_id,
'limit', $data_map.limit.content ))} Currently this is to 40. The tagcloud used is a variant of that used in webin, for which the operator is listed here: http://svn.ez.no/svn/extensions/ezwebin/trunk/packages/ezwebin_extension/ezextension/ezwebin/autoloads/eztagcloud.php As you can see from the end of the code the font size is controlled by simple vars: $maxFontSize = 200;
$minFontSize = 100;
For share, i've changes these to be 90 and 180. These actually translate into font-size percentages. From local tests this looks ok. I guess we need to discuss where these should be located, for which keyword types, and whether the share design hinders the best use of the tag cloud. Something i'd also like to mention is whether the tag cloud should be linked directly to the ezkeyword system, or through ezfind. At the moment it is the former, but i would really like to explore using ezfind for this. Paul
eZ Systems
|