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 CiviMember (Moderator: Deepak Srivastava) »
  • Email address not link in profile
Pages: [1]

Author Topic: Email address not link in profile  (Read 1793 times)

Wonder95

  • Guest
Email address not link in profile
February 10, 2008, 09:15:58 pm
In a display profile that has an e-mail address field, the field is not a link when the profile is displayed.  The URL field is clickable, and the settings for the two fields are identical.  Is there a reason the e-mail address would not be be clickable (ie. "mailto:)?  It is set to "Public Display and User Listings", which, as I understand from other posts here, it what would make it clickable.

Thanks,

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Email address not link in profile
February 12, 2008, 10:11:27 pm
Most folks AFAIK are not exposing email addresses on profiles due to privacy / spam issues. At some point it would be cool to have a web-form based "contact me" option that could be exposed on profiles at the contact/user's discretion - but we're a ways from that.
Protect your investment in CiviCRM by  becoming a Member!

Wonder95

  • Guest
Re: Email address not link in profile
February 13, 2008, 07:43:51 am
Well, in this case, just viewing the profiles is limited to members, so they don't have a problem with other members being to see addresses.  I guess my other option is to display the ""Web Profile" link that goes to the Drupal priofile, where they can use Drupal's contact form.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Email address not link in profile
February 13, 2008, 01:18:09 pm
Or - if you're comfortable w/ a bit of simple programming - you could create a customized copy of the template for that profile - and add a mailto: tag conditionally (by checking  the name of the field being rendered).

http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in+and+Profile+Screens
Protect your investment in CiviCRM by  becoming a Member!

ds505

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 3
Re: Email address not link in profile
July 02, 2008, 09:42:49 am
Another option without doing any programming:

   1. Create a custom data field (type: Alphanumeric Text)
   2. In the Default Value, add the following: <a href="mailto:">email us</a>
   3. In the Field Help, add some help text such as: Add the appropriate e-mail address after "mailto: to create a link that opens a new e-mail message.

All new records that have this field will include the Default Value. Upon entering an e-mail address and adding the field to the selector or details of search results, it will create a clickable link.
Data-Scribe(r)
http://www.datascribe.biz

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Email address not link in profile

This forum was archived on 2017-11-26.