[Vtigercrm-developers] Enhancement to email notifications

Joe Bordes joe at tsolucio.com
Tue May 25 06:53:22 PDT 2010


Try this:

global $site_url;
$url=$site_url."index.php?action=DetailView&module=$module&record=".$focus->id;

and let us know how it looks

Joe
TSolucio


El 25/05/10 15:23, Alan Lord (News) escribió:
> Hi,
>
> When vtiger sends a message to the owner about a new or updated entity
> (account, contact, potential etc) it uses the function
> sendNotificationToOwner() in includes/utils/CommonUtils.php.
>
> One thing I've been asked for a few times is to add a link (url) in the
> email message back to the relevant entity.
>
> I've just had a quick look at the $focus object using a print_r() but
> couldn't see an obvious way to get the entity's URL.
>
> Any suggestions?
>
> TIA
>
> Alan
>
>    




More information about the vtigercrm-developers mailing list