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.

CommentFileSizeAuthor
#4 ogvocab_views.patch2.19 KBnirbhasa

Comments

moshe weitzman’s picture

Title: Question about group taxonomy » Views integration
Project: Organic Groups » OG Vocabulary
Version: 5.x-5.0 » master
Component: og.module » Code

Bring in the assigned vocab's for a group and all the properties/terms for those vocabs.

Rosamunda’s picture

Suscribing.

nirbhasa’s picture

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?

nirbhasa’s picture

Version: master » 5.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new2.19 KB

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.

moshe weitzman’s picture

Status: Needs review » Needs work

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

smithn.nc’s picture

Subscribe. Definitely interested in a D6 version.

mlncn’s picture

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

Moving to version tag to Drupal 6 (and Views 2), because that's what we all need now!

highvoltage’s picture

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?

gpk’s picture

@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.

nirbhasa’s picture

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

highvoltage’s picture

Goodluck, nirbhasa. I can imagine it would be appreciated by many, certainly myself anyway. :P

dayre’s picture

subscribing

nemchenk’s picture

+1

jzornig’s picture

subscribe