Introduce a block that has tags from all vocabularies

izmeez - August 20, 2008 - 16:05
Project:Tagadelic
Version:6.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:minor
Assigned:Unassigned
Status:needs review
Description

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

#1

Zach Harkey - August 27, 2008 - 16:13

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?

#2

Zach Harkey - August 27, 2008 - 16:29

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.

#3

Bèr Kessels - August 28, 2008 - 09:36

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

#4

izmeez - August 29, 2008 - 23:52

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

#5

seutje - September 5, 2008 - 07:49

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

#6

Bèr Kessels - September 10, 2008 - 15:56

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/)

#7

seutje - October 5, 2008 - 12:34

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"

#8

CompShack - October 10, 2008 - 23:30

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!

#9

duser - October 12, 2008 - 22:19

I agree. It would be a great thing.

#10

Bèr Kessels - November 11, 2008 - 13:36
Title:Tagadelic, is it possible to include several vocabularies» Introduce a block that has tags from all vocabularies
Category:support request» feature request

#11

Arancaytar - November 15, 2008 - 14:42
Status:active» needs review

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.

AttachmentSize
tagadelic-all-vocabs-297714-11.patch 1.92 KB

#12

Bèr Kessels - November 15, 2008 - 15:07

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.

#13

madsph - March 19, 2009 - 10:36

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');

#14

madsph - March 19, 2009 - 14:22

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.

AttachmentSize
tagadelic_all_block.tgz 7.03 KB

#15

mbunyard - March 20, 2009 - 20:55

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

#16

izmeez - April 7, 2009 - 13:01
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

#17

Bèr Kessels - May 13, 2009 - 16:51
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. :)

 
 

Drupal is a registered trademark of Dries Buytaert.