Needs work
Project:
Petition
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
7 Aug 2006 at 20:49 UTC
Updated:
21 Feb 2007 at 11:27 UTC
Jump to comment: Most recent file
We do not use CiviCRM for any of our sites because a: it wastes a ton of space on the server, and b: we already have our own CRM product. It'd be really nice to be able to disconnect petition from CiviCRM. As it stands right now, we can't use this module at all because all of the CiviCRM stuff is hard coded into the module.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | petition_civicrm.inc_.txt | 9.48 KB | druvision |
| #5 | petition_profile.inc_.txt | 6.04 KB | druvision |
| #4 | petition.module.txt | 24.57 KB | druvision |
| #2 | petition.module | 34.8 KB | druvision |
Comments
Comment #1
druvision commentedYes, please! it can use the user's profile or CCK node to store the voter's data.
CIVICRM is heavy, the size of drupal, and we can't afford to translate it to Hebrew / RTL yet...
I join the request to make it lightweight!
Comment #2
druvision commentedI've almost finished abstracting the CiviCRM connection and making it optional, allowing to use profile fields instead.
Here is a preliminary version - comments on the concept are welcome (I haven't tried to compile it yet).
Comment #3
druvision commentedComment #4
druvision commentedHere is a working version - I've completely abstracted the signatory storage mechanism out of the main module into include files. Two include files are attached - one for CiviCRM and one for the profile mechanism.
The following three posts will contain updated versions of petition.module, petition_profile.inc and petition_civicrm.inc.
Tests were only done on the profile interface - the civicrm interface was abstracted but not tested so more work is needed.
Comment #5
druvision commentedHere is the second file
Comment #6
druvision commentedHere is the third file