[Vtigercrm-developers] Calendar: Related to picklist hardcoded

Adam Heinz amh at metricwise.net
Thu Aug 16 06:05:14 PDT 2012


I keep hoping to see a vTiger "eat own dog food" release where the
original modules are rewritten on top of vtlib.

On Thu, Aug 16, 2012 at 8:57 AM, Alan Lord <alanslists at gmail.com> wrote:
> 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
>
> _______________________________________________
> http://www.vtiger.com/


More information about the vtigercrm-developers mailing list