Download & Extend

Excluding a term from tag cloud view based on view argument

Project:Views Tagadelic
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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

Comments

#1

Category:support request» feature request
Status:active» needs review

I 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.

AttachmentSize
tagadelic_views-exclude_term-511474-1.patch 3.75 KB

#2

Title:Excluding current term from tagadelic view» Excluding a term from tag cloud view based on view argument

#3

how do you add this patch to the tagadelic module. Whats the filename and where does it go in the code.

Thanks

nobody click here