WebSite X5Help Center

 
P. S
P. S
User

Email Page  en

Autore: P. S
Visite 900, Followers 1, Condiviso 0  

Hello,

Can anyone advise the best method to add a button / link or link from a picture, to allow a user to send an email link to the page they are looking at i.e. Share?

I have some code, but do not know how to add it to an existing page element - or if i should just add the code to a page instead.

I do not want to use "Addthis" or similar services.

Thanks

Postato il
5 RISPOSTE - 1 CORRETTO
Paul M.
Paul M.
Moderator

Hello P.S.,

If you can share the code that you have, or post a link to it, then I'm sure that either myself or some of the other users in the community will be able to show you how and where to add it to your project.

Kind regards,

Paul

Leggi di più
Postato il da Paul M.
P. S
P. S
User
Autore

Hello Paul,

Yes, sorry i just found it using google;

http://stackoverflow.com/questions/5045918/adding-a-share-by-email-link-to-website

.....

<ahref="mailto:?subject=I wanted you to see this site&amp;body=Check out this site http://www.websitex5.com"
  
title="Share by Email">
 
<imgsrc="http://nnnn.png">
</a>

It would be good if i could add a picture to a page in the normal way, and when a user clicks on it, they get the option to send a link to someone.

Thanks

Leggi di più
Postato il da P. S
Paul M.
Paul M.
Moderator

You can do this easily with WebSite X5 by setting a hyperlink in the properties of each Image Object as follows:

Action > File or URL > Internet File:

mailto:?subject=I wanted you to see this site&body=Check out this site

I'll post a screenshot to illustrate further.

Note that this approach may not work successfully in all cases, as many people nowadays use webmail instead of an email client, and those that do use email clients may use an alternative to the default one in their operating system.  The mailto link will always open the default email client, which may not be configured correctly on some systems.

Leggi di più
Postato il da Paul M.
Paul M.
Paul M.
Moderator

Screenshot:

Leggi di più
Postato il da Paul M.
P. S
P. S
User
Autore

Thankyou for the information, all works. I understand your comments regarding the email client, it's just an option.

Thanks

Leggi di più
Postato il da P. S