How to create tag clouds with multiple vocabularies, filtered by views?

canadrian@elect... - June 13, 2007 - 19:16
Project:Views Tagadelic
Version:5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

My forum post didn't have any takers, so I guess the next step is to bother you nice people with my problem. :)

I am currently working on using tag clouds to find out the most popular tags in relation to other tags. In explanation, I have three vocabularies:

* Applications
* Categories
* Roles

All these categories are set up for freetagging, and each node will have one or more tags in each category, The prime use for this setup is that I need to be able to select an Application, and see a cloud showing the most popular Roles for nodes tagged with that Application. At some point I might need to see the most popular Categories for an Application, but that's a while off.

I've only just gotten started and I'm already running into problems:

* Displaying tag clouds (using tagadelic_views) of Roles associated with a particular Application simply doesn't work. All Role tags are showed all the time regardless of the chosen Application.
* When I expose the Application tag filter, I can only get it to show a free-tagging-style text field, rather than a drop-down menu. This isn't a huge deal, but since it's only a selector for existing tags, I would far rather have a drop-down menu than have to type in the tags.

So there you have it. Could anyone give me a couple pointers? Any help you could offer would be greatly appreciated.

#1

discursives - July 30, 2007 - 11:54

Interesting problem, for sure.

Parsing large sets like this is a great use of views, and tagadelics visual cuing is also potentially powerful.

1 thing is views has no "or" statements yet. In Drupal 6 it will. So you can't merge vocabularies and compare like you want to, really, in a single query.

What I do for things like this is construct arguements, offering the user choice. For example, clicking on applications and see a list of roles associated with that application and then click on the role to see whatever the last thing is. This is a nice and relatively intuitive way to do things. You can't make the second arguement tagadelic style...maybe not even the first, but it is worth a try.

If I get a chance to implement the same I will post back here, as far as using tagadelic to accomplish it. I do this all the time with other site though that need arguement "gateways" to narrow content down.

http://coera.us

#2

marcoBauli - October 28, 2007 - 18:02

Displaying tag clouds (using tagadelic_views) of Roles associated with a particular Application simply doesn't work. All Role tags are showed all the time regardless of the chosen Application.

this is true, and does not seem to work here too. Isn't the module supposed to extend default Tagadelic tags clouds generation using Views filtering features? Or is this a bug? Any clarification appreciated!

#3

douggreen - May 14, 2008 - 15:44

This was a bug. I ran into it today on a project of mine. It's now fixed in the 5.x-1.x-dev version. If someone tests this, I'll turn this into a 5.x-1.1 release soon.

#4

douggreen - May 14, 2008 - 15:44
Status:active» fixed

#5

Anonymous (not verified) - May 28, 2008 - 15:52
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.