[Vtigercrm-developers] Amend Picklist in Calendar Related To
John Crisp
john at reetspetit.net
Tue Oct 18 13:33:09 PDT 2011
I'm trying to amend the picklist in Calendar ToDo
If I add a ToDo from the SO the list currently shows:
Leads
Accounts
Potentials
Quotes
PO
SO
Invoice
Campaigns
trouble Tickets
But it misses Contacts for some reason. However, if I add it from
Contacts the same list appears and I can pick a SO.
Can anyone point me in the right direction as to which file I need to
edit ???
I thought it was in addEventUi.php in the section as below, but I tried
to edit it to no avail. Any help appreciated !!
B. Rgds
John
<div id="addTaskRelatedtoUI" style="display:<?php echo $vision;
?>;width:100%">
<table width="100%" cellpadding="5" cellspacing="0" border="0">
<?php
if(getFieldVisibilityPermission('Calendar',$current_user->id,'parent_id') ==
'0') { ?>
<tr>
<td><b><?php echo $mod_strings['LBL_RELATEDTO']?></b></td>
<td>
<input name="task_parent_id" type="hidden" value="">
<input name="del_actparent_rel" type="hidden" >
<select name="task_parent_type" class="small" id="task_parent_type"
onChange="document.createTodo.task_parent_name.value='';document.createTodo.task_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="Quotes"><?php echo $app_strings['Quotes']?></option>
<option value="PurchaseOrder"><?php echo
$app_strings['PurchaseOrder']?></option>
<option value="SalesOrder"><?php echo $app_strings['SalesOrder']?></option>
<option value="Invoice"><?php echo $app_strings['Invoice']?></option>
<option value="Campaigns"><?php echo $app_strings['Campaigns']?></option>
<option value="HelpDesk"><?php echo
$app_strings['HelpDesk']?></option></select>
</select>
</td>
More information about the vtigercrm-developers
mailing list