Views integration
x2222 - February 6, 2008 - 05:38
| Project: | OG Vocabulary |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
Is it at all possible to call up the specific audience based taxonomy assigned to group created content. I'm working on a custom view and need the ability to refer to a group's taxonomy much in the same way I would with any normal taxonomy terms. Is there any way to accomplish this? Thanks.
And, I tried the OG vocab module but it is not quite what I'm looking for since I want access to the base, inherent group taxonomy term.

#1
Bring in the assigned vocab's for a group and all the properties/terms for those vocabs.
#2
Suscribing.
#3
I could potentially be interested in paying a bounty to make this happen - could someone perhaps get in touch with me to give me a ballpark figure of how much it might cost?
#4
Hi,
Ive created a patch for this, I also hope to port this to D6
I patched it against the 1.x-dev version, was that the right thing to do?
Shane
ps it just lists all the terms in the group at the moment, I hope to include vocabs as well soon. I created it to expose OG Vocab terms in group home page views.
#5
I;d like to see this for D6 before I commit to D5. Also, please adhere to coding standards (braces). see http://drupal.org/coding-standards
#6
Subscribe. Definitely interested in a D6 version.
#7
Moving to version tag to Drupal 6 (and Views 2), because that's what we all need now!
#8
Wow, I wasn't aware that the vocabularies produced by this module can't be used with views. That certainly puts a kink in things since would have that it was created with that very sort of thing in mind.
Or am I misunderstanding this somehow?
#9
@8: you are not wrong, but someone has to code it up, test it, report problems, fix them etc.
You can help by testing the patch at #4, if you are using Drupal 5, or perhaps by adapting that patch to work on Drupal 6/Views 2.
#10
I am trying to write Views integration, but it's a good deal harder than for D5. One of the issues is that the D6 taxonomy selection first asks for vocabulary, then it generates the terms. If there was a views filter that spat out a straightforward list of terms, itd be much simpler.
My current approach is using hook_form_alter to insert an extra 'use vocabularies assigned to current group' option into the taxonomy term filter, but I'm running into trouble:
http://drupal.org/node/543562
Failing that, I'll just have to write the abovementioned filter :)
#11
Goodluck, nirbhasa. I can imagine it would be appreciated by many, certainly myself anyway. :P
#12
subscribing
#13
+1