Category does not appear on the create content page
agsparta - February 9, 2009 - 18:25
| Project: | OG Vocabulary |
| Version: | 6.x-1.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
I have OG installed on my site. I also installed og_vocab to define seperate categories for seperate groups. I defined two categories for two groups but when I go to create a content type associated with one content type I don't see the categories. But If I don't assign a vocabulary for any groups then only I can see the categories. I think this is a bug in organic group.
Any suggestions?

#1
I see the categories when I edit the post or preview it but not while creating a fresh new node.
#2
There is no context for og_vocab yet, so it doesn't know which vocabs to show you.
1) Select a group and click preview.
2) Help testing the patch that makes the OG conext a little better [3359291]
#3
Ha have the same problem but don't understand your 'solution'.
What context? What preview? ...
The vocabulary only shows up on the edit page. When I select a term then it still won't show up on the node page.
#4
@SaschaBerlin,
It sounds you have a different problem, so please open a new issue. This issue is about og_vocabs on appearing on node create on node edit.
#5
I know. The og_vocabs don't show up on my create node page, only on edit node page.
#6
To better understand the context:
When you edit a group post, then Drupal 'Knows' to which group node the post belongs, because you already selected the group.
However, when you add a new node, you still didn't select any group, so Drupal doesn't know which vocabs it should show you. If you will enter the title, select one of the groups and click on 'Preview' button(next to 'Save'), then Drupal will show you the vocabs that belong to that group (i.e. Drupal will understand that the group post context is the selected group node.)
#7
Ok, that works but it is very circuitous. Will this be fixed in the future?
#8
I'm not sure there is something to fix. It's OG's context system, which is pretty good, and it provides you in the API the means to set your own context.
#9
Automatically closed -- issue fixed for 2 weeks with no activity.