CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • stripping mailto
Pages: [1]

Author Topic: stripping mailto  (Read 916 times)

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
stripping mailto
August 13, 2009, 07:08:24 am
from emails and make it an unclickable link. Is there a way around this?
Thanks

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: stripping mailto
August 13, 2009, 07:18:54 am
You want this on Contact Summary Page? Here is the patch for Contact Summary Page:

Code: [Select]
Index: templates/CRM/Contact/Page/View/Summary.tpl
===================================================================
--- templates/CRM/Contact/Page/View/Summary.tpl (revision 23279)
+++ templates/CRM/Contact/Page/View/Summary.tpl (working copy)
@@ -128,7 +128,7 @@
                                     {if $item.email}
                                     <tr>
                                         <td class="label">{$item.location_type}&nbsp;{ts}Email{/ts}</td>
-                                        <td><span class={if $privacy.do_not_email}"do-not-email" title="Privacy flag: Do Not Email" {elseif $item.is_primary eq 1}"primary"{/if}><a href="mailto:{$item.email}">{$item.email}</a>{if $item.is_bulkmail}&nbsp;(Bulk){/if}</span></td>
+                                        <td><span class={if $privacy.do_not_email}"do-not-email" title="Privacy flag: Do Not Email" {elseif $item.is_primary eq 1}"primary"{/if}>{$item.email}{if $item.is_bulkmail}&nbsp;(Bulk){/if}</span></td>

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: stripping mailto
August 13, 2009, 07:20:37 am
thanks.
I was just hoping that when a client makes a civimail and puts in the body a mailto that it would not be stripped

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: stripping mailto
August 13, 2009, 07:34:52 am
Hi,

Are you sure that's not due to FCKEditor ?

Try to put the mailto from within the source view (or disable FCKEditor)

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • stripping mailto

This forum was archived on 2017-11-26.