zxc
Hi,
I have a problem and for a long time, I can not solve it - it's Events module, and more specifically the form.
I need to be able to add checkboxes on the form to add events.
In the database table bx_events_main created a new column "Check" type Varchar (50).
The File: Dolphin-v.7.0.9 \ modules \ BoonEx \ events \ classes \ BxEventsFormAdd.php
------- CODE ----------
'Check' => array(
'type' => 'checkbox',
'name' => 'Check',
'caption' => _t('_bx_events_caption_check'),
'value' => 'on',
'required' => false,
'db' => array (
'pass' => 'Xss',
),
),
----- END CODE ------
and added to the file: Dolphin-v.7.0.9 \ modules \ BoonEx \ events \ classes \ BxEventDB.php
----- CODE -------
$this->_sFieldCheck = 'Check';
----- END CODE -----
And everything would be OK - because when you add Events - Check column write the desired value of the course if the user selects the checkbox or not be recorded if you do not mark anything.
Unfortunately, when editing the event, if you select the checkbox when you add it in the edition is awarded - after re-checked - no longer writes a column value of the selected checkbox Check-in.
I ask for support because they are generally poorly described in Dolphin, checkboxes, and this issue is already beginning to overwhelm me.
Please help, for which thank you in advance.
Regards,
seo9