We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6852
    • 39 Posts
    Hello,

    so i am trying to create a simple nice little ’send to friend’ link for my site...
    i have this code

    <a href="mailto:?subject=I%20thought%20you%27d%20be%20interested...&body=I%20thought%20you%20might%20be%20interested%20in%20this%20article%20I%20found.%20See%20it%20here:%20%%5B+idpage+%5D" title="Send to Friend">
    </a>
    (found this through google)

    that creates a nice pop up window with my email browser and it adds a subject and the line

    I thought you might be interested in this article I found. See it here: [+idpage+]

    this is all perfect except i cant figure out how to get the pages url to attach to the end of the above sentence. hopefully its something i can easily put in to where [+idpage+] is..

    if anyone can think of it i’d REALLY appreciate it,,,
      • 6852
      • 39 Posts
      <p>
      <a href="mailto:?subject=I%20thought%20you%27d%20be%20interested...&body=I%20thought%20you%20might%20be%20interested%20in%20this%20article%20I%20found.%20See%20it%20here:[(site_url)][~[+id+]~]" title="Send to Friend">
      <img alt="Send Article" src="../img/email-icon.png" /></a>
      </p>



      hmmmmmm, getting closer.......... the [(site_url)] works perfectly unfortunatly though the [~[+id+]~] seems to only produce
      [~~]

      so close....
        • 6852
        • 39 Posts
        VICTORY!

        [~[+id+]~]


        doesnt work but

        [~[*id*]~]


        does

        so finished code is:

        <p>
        <a href="mailto:?subject=I%20thought%20you%27d%20be%20interested...&body=I%20thought%20you%20might%20be%20interested%20in%20this%20article%20I%20found.%20See%20it%20here:[(site_url)][~[*id*]~]" title="Send to Friend">
        <img alt="Send Article" src="../img/email-icon.png" /></a>
        </p>