I am not sure if I am failing to understand something but it appears as though Tagadelic is limited to a single vocabulary and any branches of that vocabulary. Is it possible to use Tagadelic with multiple vocabularies and select the ones you want to include?

Do I need to submit this as a feature request?

Thanks,

Izzy

Comments

zach harkey’s picture

I have the exact same question. I've been playing with these views for about an hour now and I'm frustrated by the inability to produce a single tag cloud that includes all of my vocabularies.

I'm trying to reproduce the exact same tag cloud that this module is currently producing at http://example.com/tagadelic
as an independent block. This seems like such an obvious need that I feel like I must be missing something. Is it really not possible to build this block within the Views UI?

zach harkey’s picture

Ok, I figured out how to do this with the Views Tagadelic module. The exact view settings were not intuitive. I may write up some instructions and submit them under that module.

Bèr Kessels’s picture

Your feedback would be very valuable for us.

Could you post back some notes?
Do you know:

+ why it was hard to understand?
+ what you had to do to get it working in the end? Not the exact solution, but rather: what documentation did you read, what concepts did you have to understand, and so forth.

I am looking at improving tagadelic, so such feedback is usefull!

Ber

izmeez’s picture

I looks like Views Tagadelic is for Drupal 5.x and there is no Drupal 6.x version at present. Were you using it on Drupal 5.x ?

Thanks,

Izzy

seutje’s picture

u should check out the panels module, making a mini panel out of the view turns it into a block

Bèr Kessels’s picture

No need to check out panels. (besides, it is You, not u)

See my insdtruction video on advanced url parameters: http://revver.com/video/272483/tagadelic-urls-scaled/ (or http://berkes.blip.tv/file/257818/)

seutje’s picture

since u wanna be all anal: I refuse to type "You" with a capital in the middle of a sentence, ur not holy, get over it

but yeh, I'll see ur "insdtruction"

CompShack’s picture

Can we at least have a block that includes tags from all vocabs? It could be just an extra block that includes all vocabs. Thanks!

duser’s picture

I agree. It would be a great thing.

Bèr Kessels’s picture

Title: Tagadelic, is it possible to include several vocabularies » Introduce a block that has tags from all vocabularies
Category: support » feature
cburschka’s picture

Status: Active » Needs review
StatusFileSize
new1.92 KB

I wanted the same feature and have already implemented it on my own blog.

This patch adds a new block that shows all vocabularies. The back-end does not change significantly, as it already supports fetching tags from multiple vocabularies.

Bèr Kessels’s picture

patch looks good.
It needs some thesting though, so if anyone finds this patch importatnt for her or his project: please test it, look at the code and come back here with findings.

madsph’s picture

I have tried the patch out, it works out fine except for the more theme function for which I had to add a default null value to the argument so the complete function looks like this:

  function theme_tagadelic_more($vid = null) {
    return "<div class='more-link'>". l(t('more tags'), $vid ? "tagadelic/chunk/$vid" : "tagadelic") ."</div>";
  }

I also added a conditional 'more tag' to the new 'all' block:

        if (count($tags) >= variable_get('tagadelic_block_tags_'. $delta, 12)) {
          $blocks['content'] .= theme('tagadelic_more');//add more link
        }

in stead of simply:

      $blocks['content'] .= theme('tagadelic_more');
madsph’s picture

StatusFileSize
new7.03 KB

In case any one is interested I wrote this up in a separate module, so I can have the block without changing the tagadelic module.

mbunyard’s picture

Can this feature be tested and added into the current release, as it seems several users have deemed this a valuable piece of functionality?

izmeez’s picture

Version: 6.x-1.0 » 6.x-1.2

madsph,

Thanks for creating the all vocabularies block as an addon for the Tagadelic module. It works great and provides the functionality right away. We are using it with Tagadelic 6.x-1.2

Izzy

Bèr Kessels’s picture

Version: 6.x-1.2 » 6.x-1.x-dev
Priority: Normal » Minor

if people deem this an important function, then it should be tested by those people. :)

Bèr Kessels’s picture

Status: Needs review » Closed (won't fix)

no testers in almost a year. Apparently there is no need for this feature anymore.

izmeez’s picture

Not true. We've been using the Tagadelic all block from #14. Work's great. Whether to keep separate or incorporate is up to the maintainers. I could change the status to RTBC.

Thanks, both are great.

Izzy

nsuit’s picture

I needed this functionality too and will definitely try both solutions from #11 and #14.
A case example: I have 16 different vocabularies for different content types (also use them with taxonomy menu), but I would like to have one block on the homepage with all of them combined, so that the user can browse all the nodes through the tag cloud.

Hope it will be part of the tagadelic module in the future.

burningdog’s picture

Component: Miscellaneous » Code
Status: Closed (won't fix) » Needs review
StatusFileSize
new2.28 KB

It makes sense to add this functionality as a block, since it already exists as a page when visiting www.example.com/tagadelic

The patch at #11 looks good. I've rerolled with a small whitespace fix, and with coding standards for comments.

burningdog’s picture

Version: 6.x-1.x-dev » 6.x-1.3

Hmmm...I patched this against 6.x-1.3 because it had a later release date than the -dev release. Is that ok, or shall I patch against -dev?

burningdog’s picture

StatusFileSize
new2.28 KB

This should apply cleanly now.

burningdog’s picture

StatusFileSize
new2.49 KB

Added in the suggestions from #13.

izmeez’s picture

Status: Needs review » Reviewed & tested by the community

@Roger The patch in #24 applies without difficulty and seems to be working fine. My only suggestion is to change the title from "All tags" to "Tags in all vocabularies". This would be more consistent as each of the other blocks begins with "Tags in ..." so they are all seen as a group. Yes, a very minor point that others might not agree with. People can overwrite what title is displayed.

Thanks.

Bèr Kessels’s picture

Version: 6.x-1.3 » 6.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

I committed a modified version:

* Blog title is "Tags from all vocabularies". Consistent with all other blocktitles.
* Description with the theme-function about $vid being optional and what happens when none is provided.

Status: Fixed » Closed (fixed)

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

izmeez’s picture

I'm just finding my way with Drupal on Git and noticed when I look at the shortlog for the 6.x-1.x head

http://drupalcode.org/project/tagadelic.git/shortlog/refs/heads/6.x-1.x

it does not have the tag or commit for version 6.x-1.3 but shows tags for 6.x-1.2 and earlier.

Does this mean the two branches need to be merged or something?

fadecomic’s picture

Throwing my hat in the ring for this. Seems like it should be part of the core functionality. The patch above is nice on 6, but of course doesn't work on 7. Not sure why all vocabularies is the default for the page this module produces, yet the same info isn't available as a block. I will try to hack the 7 module in the meantime.