Hi there,

I'm writing a module for Drupal and it'd be necessary to be able to have group-specific vocabularies, just what OG Vocab provides. I need the 'module' field of each vocabulary to be set to my module so that taxonomy_term_path() works correctly. However, OG Vocab will only touch vocabularies with a module of 'og_vocab', limiting its interopability with other modules. Furthermore this is a redundant check as we know exactly which vocabularies are group vocabularies -- they're simply the ones with a row in {og_vocab}.

I've attached a patch which does this.

CommentFileSizeAuthor
og_vocab-2.diff964 bytesdmhouse

Comments

dmhouse’s picture

Status: Active » Closed (duplicate)