Share » Forums » Feedback and ideas for this portal » Tag cloud - size, location, thoughts...

Tag cloud - size, location, thoughts...

Tag cloud - size, location, thoughts...

Saturday 07 November 2009 9:24:53 am - 2 replies

Author Message

Paul Forsyth

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

Nicolas Pastorino

Monday 09 November 2009 7:42:45 am

Indeed, using eZ Find here could severely enhance performances. We'd use facets for this.

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu