This module attempts to provide a compatibility layer between the old CiviCRM 1.0 API and the new CiviCRM 2.0/3.0 API.
Only install this module if you are using CiviCRM 2.0+ and if a CiviCRM module depends on it.
The module is currently seeking a maintainer who can bring it to a stable release (see below). As I have outlined in #816366: Seeking new maintainer, I am not certain it is still necessary.
It is being used by the civinode (see #230103) and send modules. It is not used by the new 6.x version of the CiviCRM Subscribe module.
If you know of other modules depending on this module, please add them to this list: #922748: Create complete list of modules depending on this module (both in 5.x & 6.x), and I will add them to the project page, and, probably, advise them to upgrade their code to use the new CiviCRM API.
Seeking new maintainer
Since this module will no longer be needed by the 6.x branch of the CiviCRM Subscribe, and I no longer have any sites running 5.x, I don't have a compelling personal reason for working on it, and thus am seeking a maintainer who needs to use it for compatibility with CiviNode, Send, or another module, and so is in a better position to test patches.
Potentially, if these modules would upgrade their code, and 5.x modules started to be considered unsupported after Drupal 7.x's release, then this module would no longer have a reason for being: see #816366: Seeking new maintainer to add your thoughts.
For Module Developers:
1. This is an API module that requires (minimal) change to your CiviCRM-dependent module.
The only change you need to make in your code is to replace calls to civicrm_initialize() to civicrm20_initialize().
However, if you wish to support it, it is recommended that you do something like:
function yourmodule_civicrm_initialize() {
if (function_exists('civicrm20_initialize')) {
civicrm20_initialize(true);
}
else {
civicrm_initialize(true);
}
}Then replace all calls to civicrm_initialize() with calls to yourmodule_civicrm_initialize().
2. New modules should be written using the new CiviCRM 2.0+ API, but this module provides a quick way to upgrade to CiviCRM 2.0 with minimal effort.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Seeking new maintainer
- Development status: Maintenance fixes only
- Module categories: Third-party Integration
- Reported installs: 20 sites currently report using this module. View usage statistics.
- Last modified: November 13, 2010