Closed (fixed)
Project:
Tagadelic
Version:
master
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2006 at 07:26 UTC
Updated:
2 Jan 2007 at 12:45 UTC
Would it be possible to exclude specific content types from the clouds? I have a hardware inventory that has restricted access, but greatly distorts the cloud.
Comments
Comment #1
Bèr Kessels commentedYes this is possible, tagadelic has all the APIs for you, all you need to do is craft your own queries and pass the result trough these APIS.
Comment #2
biohabit commentedHow? There isn't a single reference to content type in the code?
Comment #3
Bèr Kessels commented/**
* API that returns an array with weighted tags
* This is the hard part. People with better ideas are very very welcome to send these to ber@webschuur.com. Distribution is one thing that needs attention.
* @param $result. a query result, any query result that contains an object with the following attributes: $tag->count, $tag->tid, $tag->name and $tag->vid. Refer to tagadelic_get_weighted_tags() for an example."
* @param $steps. The amount of tag-sizes you will be using. If you give "12" you sill get six different "weights". Defaults to 6 and is optional.
* @return An unordered array with tags-objects, containing the attribute $tag->weight;
*/
Comment #4
Bèr Kessels commentedoh.. and feel free to commit a howto at http://drupal.org/handbook/modules/Tagadelic once you have got this going :)
Comment #5
(not verified) commented