Forum vocabluary cloning?
In what is actually a stunning move here, I now have to put up forums. That is not difficult at all. There is greater difficulty in the things that will "wrap around" the forums (largely other pages and blocks). Part of this is the common problem of using a vocabulary that is in use for other node types (and is required). It would be so much nicer if I could use the same vocabulary as there is considerable investment already in it. Right now I can see some possibilities: 1) add "forum" to the current vocabulary, delete the current forum vocabulary and let it find the existing one (there is code in the forum module to do this), hope that the "required" attribute doesn't cause problems. 2) Create a module that will clone the vocabulary and with hook_taxonomy, keep it in sync. Before I go too much farther on either one, I'd like to know what others have done to solve this issue. I know it is a common one from searching DO. Nancy E. Wichmann, PMP Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
Nancy An alternative approach is to use the content taxonomy module and instead of assigning the vocabulary to the additional content types, add a content taxonomy field instead (you probably want to set the flag that stores the values in the default taxonomy tables). This way the vocabulary can be required for the forums and optional for others. Nevets
Thanks, Nevets. This is being built on top of an existing site with and existing vocabulary that is already is use on far too many nodes to look at re-engineering not only the nodes, but the many queries as well. This vocabulary is the central driver on the site as each user belongs to one of its terms as well, and that is the link between a user and the primary content he/she sees. This linkage will be even more critical with this new stuff. And, BTW, the vocabulary terms do change twice a year. Nancy E. Wichmann, PMP Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr. ________________________________ From: Steve Ringwood <nevets@tds.net> To: development@drupal.org Sent: Fri, April 9, 2010 10:50:18 AM Subject: Re: [development] Forum vocabluary cloning? Nancy An alternative approach is to use the content taxonomy module and instead of assigning the vocabulary to the additional content types, add a content taxonomy field instead (you probably want to set the flag that stores the values in the default taxonomy tables). This way the vocabulary can be required for the forums and optional for others. Nevets
participants (2)
-
nan wich -
Steve Ringwood