I wrote up a real basic integration of Context 2 and OG. Context is simply triggered if you're in the "context" of any group. Would you like me to add it to the project as a 2.x branch? I'll need to be added as a maintainer then.

Comments

caschbre’s picture

I would be interested in this functionality.

@mikestefff... would you mind sharing what you created even if it doesn't get implemented?

mstef’s picture

Once I'm added as a maintainer, I'll post a 2.x branch.

marcp’s picture

@mikestefff - I took a look back at the 2.x code (comment 15 in #493668: Set context by OG context) from the OG issue and think it would be better to backport the current 3.x and see if it will meet your needs. I'm most of the way there with the 2.x port.

mstef’s picture

OK - that sounds good...

I'm planning on retesting your 3.x branch. Hopefully I can get it working so I can move to Context 3.

marcp’s picture

There's now a 6.x-2.0-beta1 release. The conditions appear to work the way I'd expect them to. I'm not sure the reaction is really all that useful at this point, though.

mstef’s picture

What do you mean?

marcp’s picture

The conditions are working fine -- if you want to show blocks, for example, based on an OG conditiong, then that works great.

The module also provides a reaction which lets you set a group's context based on some (seemingly unrelated) condition. I don't think anyone's really looking for that at this point anyway.

Give it a try on a test site.

caschbre’s picture

marcp’s picture

Status: Active » Closed (fixed)

There's a 2.x branch.