| Previous topic :: Next topic |
| Author |
Message |
GrzegorzK
Joined: 13 Sep 2007
Posts: 30
|
| Posted: Mon Sep 24, 2007 7:11 am Post subject: How to link a phone number field? |
|
|
Could someone please tell me which template should I edit (and which part of it) to make this work:
1) Make a "phone number" field in Leads List View, a link like this:
Code: <a href="callto:$telephone_number">$telephone_number</a> ?
2) Make it also happen in template showing details about lead.
PS. Thanks to it I can by one click dial with my VOIP program. |
|
| Back to top |
|
TonyBlair
Joined: 09 Sep 2007
Posts: 60
|
| Posted: Tue Sep 25, 2007 11:10 am Post subject: How to link a phone number field? |
|
|
there are a few places - I have done this in:
vtigercrm/Smarty/templates/ListViewEntries.tpl:106: <a href="JavaScript:place_call('{$entity_id}','{$MODULE}')">autodial</a>
vtigercrm/Smarty/templates/ActivityListView.tpl:438: <a href="JavaScript:place_call('{$entity_id}','{$MODULE}')">autodial</a>
vtigercrm/Smarty/templates/RelatedListContents.tpl:169: <a href="JavaScript:place_call('{$ID}','{$MODULE}')">autodial</a>
vtigercrm/Smarty/templates/DetailViewUI.tpl:20: <a href="JavaScript:place_call('{$ID}','{$MODULE}')">autodial</a>
Don't trust my line numbers too much - I may have changed quite a few things.
If you want my 'place_call' script that works with Asterisk - let me know.
TB |
|
| Back to top |
|
ken268
Joined: 09 Nov 2006
Posts: 70
|
| Posted: Mon Oct 15, 2007 6:56 pm Post subject: How to link a phone number field? |
|
|
Hi Tony,
Any chance of a copy of your script please? |
|
| Back to top |
|
| |