Would really like some help with FormBrowser.
At first, when I tried to approve a form response from the FormBrowser admin panel nothing happened. The page simply refreshed without any error messages or changes to the page content.
A bit of investigation led me to change action.admin_approve_resp.php line 14 change from:
Code: Select all
if (isset($params['apr']) && isset($params['response_id']))
to
Code: Select all
if (isset($params['fbrp_apr']) && isset($params['response_id']))
The browser now correctly updated the database and displayed "Updated" on the page but the browser list remained unchanged, ie still a red "x" and 'Approve this' next to each form response and the Date Submitted column was blank.
I had left the FormBrowser date_format field blank assuming it would default to something logical. However, when I tried to enter the php date string (in this case 'j M Y'), an error occurred, ie:
Code: Select all
Notice: Undefined index: date_format in C:\xxxxxxxxx\modules\FormBrowser\action.admin_store_config.php on line 12
Code: Select all
$this->smarty->assign('input_date_format',$this->CreateInputText($id, 'fbrp_date_format', $this->GetPreference('date_format','d F y'), 20, 255));
I could not find the methods GetPreference or SetPreference anywhere. I also could not find anywhere in the database to store the date_format.
I'm not even sure that these issues, ie date_format and admin approval/date submitted not displaying correctly are related - just giving some feedback in the hope that you will please help me to fix.
Thanks
psy
CMSMS 1.3.1 Havanna
FormBrowser 0.2.3
FormBuilder 0.5.3