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

agileware’s picture

Category: support » feature
Status: Active » Needs review
StatusFileSize
new3.75 KB

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.

agileware’s picture

Title: Excluding current term from tagadelic view » Excluding a term from tag cloud view based on view argument
robieoconnor’s picture

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

Thanks