[Vtigercrm-developers] Calendar: Related to picklist hardcoded
Alan Lord
alanslists at gmail.com
Thu Aug 16 05:57:02 PDT 2012
When I see stuff like this in module/Calendar/addEventUI.php my heart
sinks...
<td width="15%"><b><?php echo $mod_strings['LBL_RELATEDTO']?></b></td>
<td>
<input name="parent_id" value="" type="hidden">
<input name="del_actparent_rel" type="hidden" >
<select name="parent_type" class="small" id="parent_type"
onChange="document.EditView.parent_name.value='';document.EditView.parent_id.value=''">
<option value="Leads"><?php echo $app_strings['Leads']?></option>
<option value="Accounts"><?php echo $app_strings['Accounts']?></option>
<option value="Potentials"><?php echo $app_strings['Potentials']?></option>
<option value="HelpDesk"><?php echo $app_strings['HelpDesk']?></option>
<option value="Campaigns"><?php echo
$app_strings['Campaigns']?></option> </select>
</td>
Hardcoded option lists?
So does this mean we are not supposed to be able to relate Events and
Tasks to any other modules (especially custom vtlib ones)?
Sigh.
Al
More information about the vtigercrm-developers
mailing list