By Guest on Saturday, 05 May 2018
Replies 6
Likes 0
Views 1K
Votes 0
Hi,

I have a problem with cloaked e-mail (Joomla 3.8.7 core cloak plugin).

<a href="mailto:{{Contact:CONTACT#%s#default@example.com}}">{{Contact:CONTACT#%s#default@example.coml}}</a>

With the cloak plugin disables everything works fine. It displays the mail address entered in the field or displays the default address when the field is empty.

When the cloak plugin is enabled everything is fine when the default mailaddress is entered.

When the mail field contains a value this is what is displayed:

This mail address is protected against spambots. Javascript must be enabled to see it.">info@example.com

Any suggestions?
Sorry - I thought I'd posted a reply already

The problem is that we have had to disable the email cloak plugin on the event details (AFTER being processed by the layout editor) because input fields for event registrations containing email addresses were getting broken

If you don't use RSVP Pro then copy the file components/com_jevents/views/default/helpers/defaultloadedfromtemplate.php to templates/YOURTEMPLATE/html/com_jevents/helpers/defaultloadedfromtemplate.php and change line c. 1723 from

$template_value = str_replace("@", "@£@", $template_value);

to

// $template_value = str_replace("@", "@£@", $template_value);
·
Tuesday, 05 June 2018 12:38
·
0 Likes
·
0 Votes
·
0 Comments
·
The Joomla plugin uses HTML and script tags to create the 'cloak' - can you try this instead?

Can you try this instead

{{Contact:CONTACT#%s#default@example.com}}

Joomla will automatically convert the email into a cloaked mailto: link
·
Monday, 07 May 2018 15:36
·
0 Likes
·
0 Votes
·
0 Comments
·
{{Contact:CONTACT#%s#default@example.com}}

This displays %s as a cloaked clickable mail address. However default@example.com is displayed as plain uncloaked text.

{{Contact:CONTACT#%s#<a href="mailto:default@example.com">default@example.com</a>}}

This displays %s as a cloaked clickable mail address. However default@example.com is displayed as an uncloaked clickable mail address.
·
Wednesday, 09 May 2018 11:37
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Sunday, 13 May 2018 08:14
·
0 Likes
·
0 Votes
·
0 Comments
·
We have been at JandBeyond (the Joomla conference) the last few days so have not have had a chance to keep up with forum support - I'm really sorry

I'm traveling back today so will take a closer look at this tomorrow
·
Monday, 14 May 2018 07:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Any news on this?
·
Sunday, 03 June 2018 08:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post