[SOLVED] Email cloak for email field does not always add linking

More
8 years 6 months ago - 8 years 6 months ago #57558 by bytekultur
I am having a problem with the email cloak since the update to Flexicontent 3.0.8.
The cloaking is working, but there is no link made. Because FlexiContent already cloaks the email, the content plugin of joomla doesn't trigger (as it does not find any @)...
The only solution I currently see is changing all my email fields to text fields, is there a better solution? Unfortunately I didn't see a setting...

Thank you for any tip!
Terry
Last edit: 8 years 6 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago - 8 years 6 months ago #57562 by ggppdk
Hello

the link is not added if text is the same as the email

- test this change (which is already in v3.0.9-dev-*)

Inside file
plugins/flexicontent_fields/email/email.php

find:
JHTML::_('email.cloak', $addr, $addr!=$text, $text, $text_is_email)

change to:
JHTML::_('email.cloak', $addr, 1, $text, $text_is_email)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 6 months ago by ggppdk.
The following user(s) said Thank You: bytekultur

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #57577 by bytekultur
Thank you - great to know it will be added in the next version!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.273 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline