[Vtigercrm-developers] action links in new tab?

Matteo Baranzoni info at greenbitweb.com
Wed Apr 15 11:50:17 GMT 2015


Same problem here!
Il 15/apr/2015 10:56, "Alan Lord" <alanslists at gmail.com> ha scritto:

> I have a custom module in vtiger 6.2.0 that has a couple of new action
> links in Detail and List views - these are links to external services, e.g.:
>
>  $contractActionLinks[] = array(
>>         'linktype' => 'DETAILVIEW',
>>         'linklabel' => 'LBL_CREATE_PROPOSAL',
>>         'linkurl' => 'http://myspecialservice.com/
>> dp2/dev/index.php?record=' . $recordModel->getId(),
>>         'linkicon' => ''
>> );
>>
>
> As they are now, these links take the user away from the vtiger page they
> are on to a completely different site. This might or might not be a good
> thing but I'm wondering if there is a built-in mechanism to indicate that
> these these action links should open in a new tab or window (like when
> adding target="_blank" to the anchor tag)?
>
> Cheers
>
> Al
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150415/d3698d13/attachment.html>


More information about the vtigercrm-developers mailing list