Tag cloud - size, location, thoughts...

Author Message

Piotrek Karaƛ

Saturday 07 November 2009 9:24:53 am

I've just submitted an issue regarding the size and placement of the tag cloud:
http://issues.ez.no/IssueView.php?Id=15804

What do you think, guys? I thought this deserved some discussion.

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.