This module seems to get SOO close to what I'm trying to do, but not quite there. Maybe the module does offer this functionality and I missed it; or maybe there's another module that does what I'm looking for—suggestions are welcome from all!
I'm running a website on Drupal 6 that has 4 users and 4 separate blogs. What I'd like to do is to separate the "Category" taxonomy on a per-user basis; so If I'm viewing User1's blog, I only see User1's categories; User2's blog, User2's categories, and so on.
This module has the functionality of "assigning" (for lack of a better word) a term to its creator (user account); but it also makes those assigned terms unviewable by all other users, authenticated or not. Like I said, it gets me so close to what I'm looking for; if I could only get the view to display them, we'd be there.
Thanks!
ben
Comments
Comment #1
vishun commentedi've only used this module for d5 but what we did was modify for instance node.tpl.php to append the private taxonomy terms to the end of category output on the content-type that sports the private taxonomy. this code is for the d5 version so you may need to adapt for d6.
If its a blog_post, get the private terms from vocabulary id 13 the database and alter the $categories array to append our custom output of the private taxonomy in teaser or full node view.
Note you will need to change out the content-type and vocabulary id (v.vid in the example)
Comment #2
Anjaro commentedDid you, benahlquist or anybody else, get this to working?
I need others to view the tems to but dont know how to ?
Thanks for any answer.
Comment #3
trobey commentedThe permission 'view private taxonomies' has been added. This allows users with this permission to view terms belonging to other users but not modify them. This change has been added to 7.x-1.x-dev. I hope to backport it to 6.x-1.x-dev shortly.
Comment #4
trobey commentedThinking about this, only the user's terms should be displayed in the node add forms. It appears that even without the 'view private taxonomies' permission, all the terms were shown in a term reference attached to a node. So I have added code to remove all terms other than the user's terms when a private vocabulary is attached to a node. Thus, with both permissions a user can administer their own terms, add them to their content, and view all of the terms attached to other users' content.
Comment #5
trobey commentedThis has been backported to 6.x-1.x and is in the dev branch. Still more testing before a formal release for 6.x-1.x and 7.x-1.x but the functionality should be there.
Comment #6
Anjaro commentedThis sounds good, i will have to install the module again soon. Thanks a lot.