Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListHow to do "mailto: Usersname/domain" with UDT?How to do "mailto: Usersname/domain" with UDT?
Previous
 
Next
New Post
9/12/2006 11:02 AM
 

I wan't to convert a contact sheet I currently have published as rich text into a UDT.

One of the columns I have in my Text/HTML module formats a link to open the users default mail program.
example:
" <A href="mailto:Username/Domain/net?subject=Request%20Feedback">Users Name</A> "

I have tried most of the UDT data types and the only way I could replicate email functions like this was with rich text.  Is there a way to do this with UDT's URL or eMail data types?
Thanks in advance.

 
New Post
9/12/2006 12:29 PM
 

Yes, there are even multiple ways to do this inside UDT.

But first: I hope that you have Email adresses like name@domain.com instead of name/domanin/com. Enter your email adresses into a column of the data type Email AND hide this column / turn visible off.

Add a new Column with the Datatype Calulated Column and enter this string at extended settings, replace email with the name of your hidden column.

'<a href="mailto:' + email + '?subject=Request to feedback">' + email + '</a>'

 
New Post
9/12/2006 12:58 PM
 

Well, we do have email adresses like name/domain/com becuase we use Lotus Notes and this is the value for our Notes adresses.

Thanks for the tip!  I guess I could use username@domain.com but then I will have to retype all the email adresses instead of copy paste which is what I had hoped I could do.

 
New Post
9/12/2006 1:13 PM
 

This is quite funny.

Change the datatype from email to string - now you are able to save email adresses even in this strange lotus notes format. The calculated column will still work and show you your desired output.

 
New Post
9/12/2006 1:38 PM
 
Thank You Stefan!   You are the man with a plan.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListHow to do "mailto: Usersname/domain" with UDT?How to do "mailto: Usersname/domain" with UDT?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out