Announcement

Collapse
No announcement yet.

Email site link

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Email site link

    is it possible to add a button "e-mail this page to a friend" in version 7 for an non-technical user?

    #2
    Email page

    Hi there

    In its most basic form you could provide a link such as:

    <a href="mailto:webmaster@mysite.com?subject=Check out my site&body=Here is a link to my site...">Tell a friend</a>.

    This will trigger your Outlook/email client, by the way.

    Other solutions can be as advanced as you can think of. Let me know if you need more help.

    Dave.
    http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
    http://www.dtbrownseeds.co.uk - More seeds and plants....
    http://www.mr-fothergills.co.uk - Well it used to be Actinic...

    Comment


      #3
      Hi,

      Don't forget, if you use this type of link in your HTML then Spammers can harvest the e-mail address right out of your pages. Better to use some form of obfuscation such as:

      <script language="Javascript">
      <!--
      a = "name"
      b = "yourdomain.com"
      c = "subject=E-Mail Subject"
      d = "Hyperlink Text"
      document.write("<a href='mailto:" + a + "@" + b + "?" + c+ "'>");
      document.write(d);
      document.write("</a>");
      //-->
      </script>

      We use this technique on one of our Actinic sites (www.bonasana.com) for general e-mail links but we also use a cgi script for "E-Mail this Page to a Friend". Take a look at the site and let us know if you'd like details of the script.

      Cheers

      IMIS
      IMIS
      www.crombie.co.uk
      www.bonasana.com
      www.discount-aromatherapy.co.uk

      Comment


        #4
        Email link

        That is true about the spammers (I kept it simple in response, as requested).

        On our sites we use a javascript that passes the location of the page as a parameter to a perl script. The script is also set up to check that it comes from our domain and if it were not from our domain, it would include our home page as the link.

        Let me know if you require further assistance.
        http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
        http://www.dtbrownseeds.co.uk - More seeds and plants....
        http://www.mr-fothergills.co.uk - Well it used to be Actinic...

        Comment


          #5
          This will work fine:

          http://knowledge.actinic.com/users/k...ut.html#aKB376

          Comment


            #6
            IMIS,

            I would quite like to have a nose at the cgi script if you have a link to download it?

            Regards

            Dave
            Cheers

            David
            Located in Edinburgh UK

            http://twitter.com/mcfinster

            Comment


              #7
              Hi Dave/IMIS,

              I'm also interested in this CGI for email a friend, any chance you could post it or a link to it?

              Many thanks -Johnathan
              http://www.thegigrig.com/

              Comment

              Working...
              X