Closed (fixed)
Project:
Views Cloud
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Oct 2008 at 12:03 UTC
Updated:
1 Dec 2009 at 21:40 UTC
Jump to comment: Most recent file
Hi,
First of all - it seems to be a great module for creating a tag cloud. I just have one problem.
I would like to have a tag cloud with 10 nodes in different sizes...
I've selected node:title and node: Post date. In the "Cloud Weight field" I've selected the node: Post date.
The cloud appears and seems to be working except for the sizing. I selects views-cloud-size-7 for every single link.
I've tried changing the date in the DB, but nothing happens in the Cloud...
Any ideas?
Regards,
Lars Hansen, Denmark
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_cloud_min_max.patch | 921 bytes | quicksketch |
| The view tag_cloud.jpg | 112.07 KB | larskhansen |
Comments
Comment #1
quicksketchThis was actually a combination of problems, not the least of which was Views Cloud assuming 1000 was the larges number it would come across. This has been fixed in the attached patch.
To make a cloud of items by the time they were posted, edit your "Node: Date posted" field and set the format of the field to "Custom", then use the format "U" to output a timestamp. This makes it easy for Views Cloud to compare submitted times, since they'll all be integers instead of dates (which don't compare well with PHP's comparison operators).