For some reason or another I cannot choose which group I want a particular node to appear in.
The audience field is not visible on the node/add edit form, (see picture below )but for some reason the audience is chosen for me. The audience field was visible at one time, but somehow through development it completely disappeared. It is hidden with the wrong default value.
I am only working with two content types, one of which is a group node, the other which is a group post. When I go the motions of adding a group post, it only shows up in the first group node I created. I have created several dummy users, same result.
How do I make it reappear? (besides saying "abracadabra")
| Comment | File | Size | Author |
|---|---|---|---|
| ognode.JPG | 17.13 KB | dreadfulcode |
Comments
Comment #1
tallsimon commentedcheck that the content type OG settings allow it to be posted in a group, check that your groups are accessible to the user/the user is a member, and check if any other access modules influence this, e.g. Content Type Administration by Organic Group
Comment #2
dreadfulcode commentedI have abandoned OG for this particular project altogether and went for the nodereference URL widget module. I can do the same thing, albeit with a little more effort, to add specific nodes to other nodes- generally speaking.
Comment #3
suit4 commentedHad the same issue with OG. I found it to be a bug comming from og_content_type_admin. It has some lines of code which deactivate exactly those audience checkboxes if the current content type to add to a group is not allowed on the current group. As the code is buggy, the result is: audience checkboxes gone.
If you do not need og_content_type_admin, deactivate it, and you'll get your checkboxes.
Otherwise, I posted a fix here.
Comment #4
claudiu.cristeaThis version of Drupal is not supported anymore. If this is still an issue in the
8.x-1.xbranch, please open a new up-to-date ticket. Closing.