Request change to how add / removal messages are generated

jrbeeman - July 22, 2008 - 18:07
Project:OG Audience
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm the maintainer of the OG Audience by Type module, and I'm working on integration with OG Audience. My integration work seems to be nearly done, but I've run into an interface issue due to how add / remove messages are generated from OG Audience. They currently tap into the loaded user's groups to pull the title of the group for which the post is being added / removed.

My module alters the behavior (based on role / config settings) of the OG Audience module to allow certain users to add / remove from groups for which they aren't a member, so the module behaves as expected, but the user receives a message along the lines of "The story has been added to ." (with the group name missing).

Would it be possible to alter the behavior of the message setting to load the group title if the user isn't a member of the group? I'd be happy to roll a patch for this behavior, if you're willing to accept it.

#1

David Lesieur - July 23, 2008 - 02:03

This seems like a good idea... However, I'd like to avoid adding a query. Could we get the group's name from the form?

 
 

Drupal is a registered trademark of Dries Buytaert.