Using the block "Taxonomy VTN" that is created by enabling [VTN Blocks], I run into two problems:
1. I only want VTN to consider one of my vocabs (id=4), and exclude vocab ids 1 and 3.
However, no combination of single values, comma separated, comma with space, etc seems to force the VTN block to only list the target and exclude one or both of the undesired vocabs (setting here: ../admin/settings/taxonomy_vtn).
Are there other dependencies for this block that need to be set in order to exclude the non-target vocabs?
2. Once I get VTN to only consider the target vocab, what I want to display in the block is the list of terms *in the current node*.
Does VTN Blocks do this?
If so, what are the proper configuration settings to make it happen?
Thanks indeed!
Comments
Comment #1
AlexisWilke commentedboabjohn,
I implemented a fix in the -dev version. You probably want to use the -dev anyway. I guess I'll generate a new branch just because!
The setup for the block will be in the block configuration. The admin settings are for the master page.
Otherwise, a block could not be cached if it were to change on every single node... Yet, that is not the major problem. The major problem is that whenever a block is being generated, we have no clue of what the corresponding node is. (although, I'm sure there is a hack readily available... I'm not yet aware of it!)
So at this time, I'll skip point 2. But if you know how to make that work, I'll listen. 8-)
Thank you.
Alexis
Comment #2
boabjohn commentedHowdy Alexis,
Thanks hugely for the fast reply. I will grab the dev version as you suggest.
I'm am not at all a PHP person, and don't have a clue how/when the blocks execute...total foreigner to this world I'm afraid.
However, relevant to your comment regarding my point 2 (displaying the terms for the current node), I found a block installed for me by either my Theme (Foliage, http://drupal.org/project/foliage) or by Tagadelic.
The block name is "Tags for current post" and it works great except I can't figure out how to force it to connect with the default taxonomy view that you use...
Anyway, thanks for the module and your contributions.
JB
Comment #3
AlexisWilke commentedJB,
I actually made an official release with the fix... 8-)
So you can grab version 1.0
Thank you.
Alexis
Comment #4
AlexisWilke commentedboabjohn,
Tagadelic says:
So I would think that what you see is from your theme. And the theme has indeed access to the tags (taxonomy links) of the page.
In a module you cannot just write something that is supposed to function in a theme.
Thank you for the update.
Alexis Wilke