patch to add OG invite support

liquidcms - November 13, 2008 - 07:57
Project:Drupal Contact List Importer
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I have patched both the dcl_importer module and the og module so that this wonderful importer module can fill the og's invite form. I'll attach both patches her as well as add an issue with same info for that project.

my patch is the simplest way to get these 2 modules to work together; however, a better way would be for this module to provide a hook so that other module could use its email lists. then the invite module (and og module and others) would then use this hook to pass info to the dcl_importer to tell it how they would like the email list and most importantly (and likely really only need this) give the url where the list would get passed to. This way dcl_importer doesnt need to be patched for each module that wants to use this feature and it would be up to the module designers to call the hook if they want to add support for this - the Drupal Way !! :)

Peter Lindstrom
LiquidCMS - Content Management Solution Experts

AttachmentSize
dcl_importer_support.patch1.97 KB
og_invite.patch827 bytes

#1

soosa - November 20, 2008 - 18:11

Thanks a lot dude :-)
thats just awesome :-)
i will commit the patch to the project very soon, Thank you :-)

 
 

Drupal is a registered trademark of Dries Buytaert.