1
I am trying to fine-tune the notifications for some of the modules. For that I created an additional category, named 'essential'. Just copied the xoops_version.php's category creation lines and bumped an index by one. Then I changed the 'new_file' event to be of category 'essential'. That never made it into the config table in the database, and that's where the notification is being pulled from.
Any ideas on how to possibly fix that? How are new categories proliferate to the cached and db config stores?
Attached is a xoops_version.php exerpt w/new cats.
$modversion['notification']['category'][4]['name'] = 'essential';
$modversion['notification']['category'][4]['title'] = 'Essential notifications';
$modversion['notification']['category'][4]['description'] = 'See user registration form for definition';
$modversion['notification']['category'][4]['subscribe_from'] = array('index.php','viewcat.php','singlefile.php');
$modversion['notification']['category'][4]['item_name'] = 'lid';
$modversion['notification']['category'][4]['allow_bookmark'] = 0;
$modversion['notification']['event'][5]['name'] = 'new_file';
$modversion['notification']['event'][5]['category'] = 'essential';
$modversion['notification']['event'][5]['title'] = _MI_MYDOWNLOADS_GLOBAL_NEWFILE_NOTIFY;
$modversion['notification']['event'][5]['caption'] = _MI_MYDOWNLOADS_GLOBAL_NEWFILE_NOTIFYCAP;
$modversion['notification']['event'][5]['description'] = _MI_MYDOWNLOADS_GLOBAL_NEWFILE_NOTIFYDSC;
$modversion['notification']['event'][5]['mail_template'] = 'global_newfile_notify';
$modversion['notification']['event'][5]['mail_subject'] = _MI_MYDOWNLOADS_GLOBAL_NEWFILE_NOTIFYSBJ;
Thanks,
Eugene