We're using a tagadelic view on a term page using Panels. The current term is being passed as an argument to the view giving a tag cloud of related tags on a list of products.
The problem we have is that on the term page, the current term is shown in the tag cloud. Is it possible to exclude the current term so it's a true "related tags" view?
thanks
Martin
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | tagadelic_views-exclude_term-511474-1.patch | 3.75 KB | agileware |
Comments
Comment #1
agileware commentedI can't work out a way to do it using crazy views relationships or anything so here is a patch that adds the option to the tagadelic style settings.
To be safe, patch the module, clear the views cache at admin/build/views/tools, clear the drupal cache.
Then when you edit your view you can go to the options for the tagadelic views style and there is a new option to select one of the arguments from your view to use as the term ID to exclude from the tag cloud.
Comment #2
agileware commentedComment #3
robieoconnor commentedhow do you add this patch to the tagadelic module. Whats the filename and where does it go in the code.
Thanks