Hi - can someone help me change country input in BxDolEvents.php (Add an Event for members frontend) to multiple selection?
Explanation: I'm using the country prevalues for musical genres, and want people to be able to select multiple genres for an event, for instance a festival.
It was easy to change select box to multiple selection, but values are not inserted into table even though I tried to change sdatingEvents tabel datatype to 'Set' and inserted the list of "country" codes into the lenght/values field.
I think that the step I'm missing is the insert command in BxDolEvents.php.
I've found this code around line 1835, but don't know how to alter:
$sCountriesOptions = '';
foreach ( $aPreValues['Country'] as $key => $value ) {
$sSC = ($sSelectedCountry == $key) ? 'selected="selected"' : '';
$sVal = _t($value['LKey']);
$sCountriesOptions .= "<option value=\"{$key}\" {$sSC}>{$sVal}</option>";
}
Can someone with php-knowledge help me???
Thanks in advance,
Dorit