it appears that the organic groups functionality hasn't worked/been available for some time now. It looks like the problem lies in the fact that either the modules/themekey.og_context.inc is named incorrectly, or the hooks inside the file are named incorrectly eg "themekey_og_themekey_properties".
As well, the code that includes these files makes incorrect assumptions about what a filename should be. specifically it uses a regular expression that only accounts for letters (eg: [a-z]+ ) when there are also modules that have underscores as well so the pattern really needs to at a minimum be [a-z_]*.
Attached is a patch for these problems and that should get theme key tokens for organic groups to become available for users again.
Hope this helps!
Comment | File | Size | Author |
---|---|---|---|
og_includes_fail.patch | 1.79 KB | netw3rker | |
Comments
Comment #1
cdulude CreditAttribution: cdulude commentedWorks for me!
Comment #2
mkalkbrennerYou're right. In detail I adjusted some more code and added an update function. Already committed to git ...
The file scanning needs to be adjusted in 6.x as well ...
Comment #3
mkalkbrennerComment #4
mkalkbrennerfixed in 6.x
Comment #5
netw3rker CreditAttribution: netw3rker commentedIts also worth mentioning for anyone seeking this OG functionality in themekey. This is specifically designed to require the "OG Context" module. There isn't any documentation that states this, so hopefully people searching for how to set this up in OG will stumble across this.