Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2011
    Posts
    22
    Plugin Contributions
    0

    Default How to add an e-mail link in the Define Pages Editor?

    I'm updating the Shipping & Returns page through the Define pages editor. I was just wondering how I could put my e-mail address in there as a link. I know customers could just go to the Contact Us page, but I thought it would be more convenient if I could put a link right on that page. Or how could I link it to go to the Contact Us page?

    Thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: How to add an e-mail link in the Define Pages Editor?

    You can post links using raw HTML:

    If you want to post your email address so it can be harvested by spammers, use this:
    <a href="mailto:[email protected]">spammers please click this link to spam us with email</a>

    If you want to put a link to your contact-us page, use this:
    <a href="index.php?main_page=contact_us">click here to contact us</a>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: How to add an e-mail link in the Define Pages Editor?

    DrByte is correct. If you want to broadcast your email address to every spammer in the world, then embed it in a link.

    NOBODY (with any sense) does this anymore.

    Your address will be grabbed by hundreds of BOTS out there, that look specifically for embedded email addresses, and you will NEVER be able to stop the v i a g r a and member-enlargement spam that will result.
    20 years a Zencart User

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: How to add an e-mail link in the Define Pages Editor?

    I went round and round on this with a client for whom I do some web site work. They had their site built by a "specialist" in their industry and their contact page lists the eMail addresses of each of their employees. In the end, I lost that battle because the "specialist" knows best.

  5. #5
    Join Date
    Nov 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: How to add an e-mail link in the Define Pages Editor?

    Perfect!!! Thank for your help and the heads up on just embedding my e-mail address.

  6. #6
    Join Date
    Nov 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: How to add an e-mail link in the Define Pages Editor?

    Sorry, one more question. How would I put in a link to a pdf document. And where would be the best folder to store this document. I was thinking the Images folder.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: How to add an e-mail link in the Define Pages Editor?

    Same concept:
    <a href="folder/filename.pdf">click here to open PDF</a>

    The /download/ folder already allows for PDF file access, so that's probably a good place to put it. If you want to use the /images/ folder, you'll need to add pdf support to the /images/.htaccess file, following the existing pattern. That topic is discussed in several other forum threads.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Nov 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: How to add an e-mail link in the Define Pages Editor?

    Cool. Thanks!

 

 

Similar Threads

  1. Can't Insert An Image Link on Define Pages Editor
    By neophyte2007 in forum Customization from the Admin
    Replies: 0
    Last Post: 4 Jun 2007, 08:04 PM
  2. Link Information links to Define Pages Editor
    By bigfatgreedykat in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 19 Oct 2006, 10:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg