jvstratum
  jvstratum
Gold Member
  Saturday, 05 May 2018
  6 Replies
  1K Visits
0
Votes
Undo
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?
Tuesday, 05 June 2018 12:38
·
#202868
Accepted Answer
0
Votes
Undo
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);

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Monday, 07 May 2018 15:36
·
#200873
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Wednesday, 09 May 2018 11:37
·
#200971
0
Votes
Undo
{{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.
Sunday, 13 May 2018 08:14
·
#201040
0
Votes
Undo
Monday, 14 May 2018 07:07
·
#201085
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Sunday, 03 June 2018 08:02
·
#202805
0
Votes
Undo
Any news on this?
Tuesday, 05 June 2018 12:38
·
#202868
Accepted Answer
0
Votes
Undo
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);

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.