Using with civicrm rev3610
warning: Missing argument 2 for form_item() in /home/esatsang/dev2/includes/common.inc on line 1040.
[Tue Nov 01 20:29:30 2005] [error] [client 68.221.7.206] PHP Fatal error: Undefined class name 'crm_core_config' in /var/www/modules/eventfinder/eventfinder.module on line 358, referer: http://localhost/admin/settings/event
Thanks
Comments
Comment #1
onionweb commentedif you change
if(module_exist('civicrm')){
$config = CRM_Core_Config::singleton();
to
if(module_exist('civicrm')){
civicrm_initialize(TRUE);
$config = CRM_Core_Config::singleton();
in the function eventfinder_settings, you can access the settings page. But the forms error is still present, and these forms are empty:
CiviCRM Contact Form:
Registration Groups:*
Comment #2
onionweb commentedthose forms are empty, I should say, if you haven't created a group or profile yet in CiviCRM. Otherwise it's OK.
Comment #3
Anonymous (not verified) commentedWhat version of CiviCRM is everyone using? This code runs on CiviCRM 1.1, but I have not had a chance to update it to work on CiviCRM 1.2.
M