The function tagadelic_tags_lists($node)
will only show lists of freetagging vocabularies terms, but not of other vocabularies.
I'd like it to show terms of other vocabularies as well.
Is this not a problem of tagedelic but of taxonomy_get_vocabulary($vid);?

Comments

Bèr Kessels’s picture

I amsorry, but I cannot confirm this. The code is clear too:

  elseif ($op == 'list') {
    foreach(taxonomy_get_vocabularies() as $voc) {
      $blocks[$voc->vid]['info'] = variable_get('tagadelic_block_title_'. $voc->vid, t('tags in %voc', array('%voc' => $voc->name)));
    }
    $blocks[0]['info'] = t('tags for the current post');
  }

Or, in human language: Iterate over all the vocabularies!

Stephan_M’s picture

Thank you for taking a look.

Only if i enable "free tagging" for the vocabularies they will show up in the tagadelic block. Do you have an idea what might cause this behaviour?

kpaul’s picture

i'm seeing this too... any ideas?

Bèr Kessels’s picture

PLease give me the versions you are using.

Stephan_M’s picture

Sorry - i missed this thread, because i went for another solution. I am fine with it only showing free-tagging vocabs.

Still the version i am using is: tagadelic.module,v 1.35 2006/11/02 13:04:38

bohtho’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev

Same for me as in 4.7-issue about this. Version 5.x-1.x-dev

doc2@drupalfr.org’s picture

Category: support » bug

Hi, I have the same problem on Drupal 5.1 with tagadelic.module,v 1.36.2.3 2007/03/13 09:58:31 ber Exp $
I think we can consider that as a bug.

Yet I cannot just switch to freetagging as, for a Tagadelic-independent reason, my freetag enabled vocabs disappear from the editing form (by the way, from both the Category and CCK Taxonomy field fieldsets). But mainly because I do NOT want freetagging on my vocabs.

As this "Tagadelic list on a block" feature is a fantastic workaround for newbies for displaying the Terms almost somewhere else than on the nodes content's bottom (*), I think this should be solved. I badly need it! In plus of showing the Vocabularies' label, it provides their breadcrumb link! These already are two great improvements in Taxonomy!!

(*) I removed the body bottom's links and terms by removing --warning: newbie method here--, in the node.tpl.php file (from Drupal's active Theme), the content of the "print_terms" div, including them.

I tried to create a block with PHP-code entry format enabled, containing the previously removed pieces of code, but it wouldn't work. (I know, it's quite a barbarian way to 'develop' ; )

Thanks for this great module anyways! Any (patch) suggestion?

doc2@drupalfr.org’s picture

You may bookmark this http://drupal.org/node/48261#comment-252441 to follow any answer there.

lennart’s picture

This still seems to be true. All freetagging vocabularies will be shown in the block, but not others

lennart’s picture

As soon as I change one of my "non-free tagging" vocabs to a "free tagging" vocab it shows up in the block just fine. When I change it back it once again disappears from the "tags for ******" block.

sdecabooter’s picture

I think some people in this thread are talking about other blocks.
However, i notice the same behaviour as the starter of this topic.

When you enable the 'tags for the current post' (so not the 'tags in @voc' !), as mentioned in the first post of the thread, it does indeed only show tags from freetagging vocabularies. This is because in the function tagadelic_tags_lists($node) you have the following on line 191:
foreach($node->tags as $vid => $terms) {

The $node->tags array only contains tags (thus terms from freetagging vocabularies). If you would want to show terms from all vocabularies, you could find them in the $node->taxonomy array. However you wouldn't really need the tagadelic module to show all terms related to a post... This can be done with an easy php snippet in block.

lennart: are you also talking about the 'tags for the current post' block, or about the 'tags in ' block? Because those are two different things.
The last one should work with non-freetagging vocabularies too (i just checked it), the first one does not.

sdecabooter’s picture

Hmm i messed around with the code blocks :)
Hope the comment is readable nonetheless.

lennart’s picture

svendecabooter

Thanks for the tip. I was talking about the 'tags for the current post' block.

Bèr Kessels’s picture

Status: Active » Closed (works as designed)

This is by design.
However, I am thinking of removing these blocks entirely, they belong in another module IMO.