Mail problem in joomla article

GK User
Wed Jan 11, 2012 6:54 pm
Hi,

i introduced a link to email address inside an article in here

http://www.publicvote.gr/index.php/home ... E%B1%CF%82

and it doesn't behave properly. It says something mailto: javascript.... and not the email address

Any ideas?
User avatar
Junior Boarder

teitbite
Thu Jan 12, 2012 4:02 am
Hi

Something like this can display when page is loaded partialy. I can see it's working now. Do You still have problems with it ?
User avatar
Moderator

GK User
Thu Jan 12, 2012 7:33 am
Hi again,

the page is loading always-no problem there

i have inside the article a mail to an address link

if you hover or press the link you see <script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy86983 = 'info' + '@'; addy86983 = addy86983 + 'publicvote' + '.' + 'gr'; document.write('<a ' + path + '\'' + prefix + ':' + addy86983 + '\'>'); document.write(addy86983); document.write('<\/a>'); //-->\n </script><script type='text/javascript'> <!-- document.write('<span style=\'display: none;\'>'); //--> </script>This e-mail address is being protected from spambots. You need JavaScript enabled to view it. <script type='text/javascript'> <!-- document.write('</'); document.write('span>'); //--> </script>

For the position of the link see attached photo

In the backend everything seems ok

If i put this mail to link to the bottom (see please Link Contact us in the bottom) it works properly

Please help

Thanks in advance
User avatar
Junior Boarder

teitbite
Fri Jan 13, 2012 12:40 am
Hi

Och. I was looking at e-mail icon on top of it :) The case is that editor will change it always. It's also not supporting javascript code, so You need a different approach to that. Maby a mod_blank module which can support any code in this place instead of regular text is a solution. You can also disable any editor and use pure HTML code in a standard text window which will appear in editor place.
User avatar
Moderator

GK User
Fri Jan 13, 2012 6:26 pm
Hi, it's not the problem of the editor. I disabled it, it is written correct in html, mailto: etc. In the frontend, still remains the error. I suppose there is some conflict between the template ad k2?

any ideas?

when you say a mod blank module what do you mean?

i feel stupid
User avatar
Junior Boarder

teitbite
Fri Jan 13, 2012 9:03 pm
Hi

mod_blank module is a name of a module which can add any code to the joomla site (also PHP).

Please send me an access to joomla panel. I'll check the code of this article.
User avatar
Moderator

GK User
Sat Jan 14, 2012 9:24 am
teitbite wrote:Hi

mod_blank module is a name of a module which can add any code to the joomla site (also PHP).

Please send me an access to joomla panel. I'll check the code of this article.



Hi,

i have sent an email to your email account - thanks in advance
User avatar
Junior Boarder

teitbite
Sun Jan 15, 2012 1:06 am
Hi

You were right. Article code is ok. The problem was a plugin called "Content - Email Cloaking". I've disabled it and mail is ok now.
User avatar
Moderator

GK User
Sun Jan 15, 2012 7:40 am
Really thanks - i suppose this plugin was for hiding email addresses from spam/robots?

thanks anyway. :D
User avatar
Junior Boarder

teitbite
Mon Jan 16, 2012 1:10 am
Hi

Sure it was. But like You see it was not working propperly.
User avatar
Moderator


cron