Closed (outdated)
Project:
Organic Groups
Version:
7.x-2.x-dev
Component:
og_panels.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2012 at 11:41 UTC
Updated:
8 Dec 2025 at 00:21 UTC
Jump to comment: Most recent
Comments
Comment #1
amitaibuAre you passing it the user context as-well?
Comment #2
qproEasy, it works, thanks, but something isn´t clear for me yet:
In contexts "Node" , why is "Enter a specific title or ID of a node entity" compulsory? Shouldn´t it will be "Node being viewed" to have only one panel variant for every nodes?
As aditional information :
I try setting a random node in the context "Node" and then in the "OG membership from a group node and user" relationship...
-- when i select the option "Node being viewed" it breaks in an HTTP 500 Internal Server Error.
-- when i select the option "Node" shows this error "Notice: Undefined index: relationship_og_membership_from_group_and_user_1 en theme_ctools_context_list() (liña 230 de /srv/www/.../sites/all/modules/ctools/includes/context.theme.inc)."
greetings
Comment #3
amitaibuIt sounds you are trying to load an incorrect context. you should have the node in the Panels context already.
Comment #4
peem83 commentedI have the same issue but in case when I want to display block with the group content on other group content page. I have two content types (group content), when I view the first one I want to show block with other content for related group.
Comment #5
jaydarnellI am relieved to see that I am not the only person who is having this problem. Unfortunately in reading through the four comments on this issue I'm not sure if the actual problem IS a problem or if the design of OG groups has simply shifted to where the "OG group from node" option is no longer necessary as a relationship option when trying to set up a panel node template override. Amitaibu could we please get some additional clarification on this?
Panels is the recommended display option for organic groups and all the guides found online say that we should use the "OG group from node" option for the relationship in creating our panel node template override. Take the following link for example:
http://drupal.org/node/1041198
However, as qpro said this option is no longer available. Is this a bug or was the option removed because it is no longer the route to go when setting up this override? I have some experience with panels but not enough to confidently know what I should be doing when the avenue recommended in the community documentation takes me down a path that no longer exists. Please advise. Organic groups is a fantastic module and a central part of the site I'm currently working on. I'd like to know how to set up this node template override properly.
Thank you!
Comment #6
jaydarnellComment #7
amitaibuComment #8
jaydarnellThank you in advance for your continued work on this fantastic module Amitaibu. I'm not well versed enough in drupal development to be of direct coding assistance yet but if I can help in any way I am happy to do so.
Comment #9
amitaibuPlease enable the "OG-example" module, that comes with OG. It should show a good example on how to use Panels with 2.x
Comment #10
jaydarnellThank you Amitaibu. I will try this today and report back!
Comment #11
jaydarnellThat worked wonderfully! Would it be beneficial for me to dissect this and update the documentation here to reflect the new steps necessary to make this work: http://drupal.org/node/1041198
Or do you think the steps may change enough between now and when this dev copy is officially released to merit holding off?
Comment #12
amitaibuThanks, you should probably open a new doc page, with Panels integration for 2.x -- it shouldn't change (or change much) for the release.
Comment #13
jaydarnellAwesome! As soon as I wrap up some work this afternoon I'll take some time to start a new doc page.
Comment #15
shenzhuxi commentedWhy panels + page manager + og example 7.x-2.x only work on clear installation?
If I use panels + page manager + og example 7.x-1.x and upgrade to 7.x-2.x, the panels will not be displayed on the group page.
Comment #16
Yuri commentedThe new doc page, with Panels integration for 2.x still is not available. @Copperbot, are you still planning to write that?
Comment #17
jaydarnellMy multi-site buildout I was working on in June is still underway but things are starting to slow down. I would be happy to write this new doc as soon as the project wraps up. I cannot say when that will be at this point but we are in the final stretch now. I'll get to this as soon as possible.
Comment #18
Dek-1 commentedHi,
Thanks for all your work on this.
Is there any chance this documentation (http://drupal.org/node/1041198) will eventually be updated?
I can't enable OG Example as suggested above because both the Features and Message modules blow up my site with an 500 Internal Error when I attempt to enable either and they are both required by OG Example. I ended up having to manually disable the modules in the database to restore my site even trying it.
Would be very nice to know what changes were made so I can successfully integrate OG with Panels using 7.x-2.x.
Thanks
Comment #19
Dreao commentedCan you please explain HOW to do this? I also have the:
Notice: Undefined offset: 1 in og_membership_from_group_and_user_context() (line 28 of C:\Users\...\Sites\acquia-drupal\sites\all\modules\og\plugins\relationships\og_membership_from_group_and_user.inc).
Sorry for being a total noob... :/ Perhaps there is a video?
Comment #20
Dreao commentedI fixed it by deleting the og_membership_from_group_and_user Relationship. .... But now I can not have anyone register... lol any ideas?
Comment #21
Dreao commentedFixed it by disabling mesanger
Comment #22
ikaros123 commentedCheck out this also ...
it seems that you don't need to configure this in the new version of Organic Groups
https://drupal.org/node/1041198#comment-6885006
Comment #23
Yuri commentedFor me it's still unclear what causes this error to appear and how to configure OG 7.X-2.X with Panels correctly, with context and relationships. Documentation also is not available for the OG 7.X-2.X Panels integration.
Comment #24
ergophobe commentedYuri - I have
Then in Panels - no context, no relationship. Simple as that.
Comment #25
joelpittetDrupal 7 reached end-of-life and the D7 version of Organic Groups is no longer being developed. To keep the issue queue focused on supported versions, we’re closing older D7 issues. If you still have questions about using Organic Groups on Drupal 7, feel free to ask. While we won’t fix D7 bugs anymore, we’re happy to offer guidance to help you move forward. You can do so by opening (or reopening) a D7 issue, or by reaching out in the #og channel on Drupal Slack.
If this issue is still relevant for Drupal 10+, please open a follow-up issue or merge request with proposed changes. Contributions are always welcome! 💙