0
Welcome Guest! Login
0 items Join Now

SOLVED Mailto link shows error message when viewing page

  • SOLVED Mailto link shows error message when viewing page

    Posted 10 years 8 months ago
    • Hello,

      I have several pages (articles) with mailto links on them. When viewing the page I see the following message: This email address is being protected from spambots. You need Javascript enabled to view it.

      Here is the code:
      <a href="mailto:tour@endruralpoverty.org"><span style="font-size: 9pt;">Contact Us</span></a>

      Here is a link to one of the pages in question:
      www.endruralpoverty.org/get-involved/tou...-the-amazon-overview

      Can anyone shed insight as to why this is happening?

      The site is using version 4.1.25 of the Gantry template and framework. The Joomla version is 2.5.24.

      Thank you!
    • Last Edit: 10 years 8 months ago by Tim Burkart. Reason: marked topic solved
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Mailto link shows error message when viewing page

    Posted 10 years 8 months ago
    • Yes, The joomla email cloaking plugin is protecting you from having that email address being spammed (harvested by spambots). But, you must not put ANY html inside the mailto link (you have used span tags) otherwise it fails. Remove the span tag (or put around the a tag) and you should be ok then.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.047 seconds