Running Fabrik 3.1.1 (GitHub) on Joomla 3.2.3
I have a form that displays email addresses in details view. I want these email addresses to be processed by Joomla's email cloaking plugin.
So, in the form options, I have "Process Joomla plug-ins" set to "Detail view only". Yet, the email addresses are not cloaked. I have also tried setting the option to "Detail & form view" and it still doesn't work.
I did a search through the forum and read that the Joomla cloaking plugin has caused a lot of problems in the past.
I searched through Fabrik files and found the following line in /components/com_fabrik/helpers/html.php
If I comment out that line, the email cloaking plugin works. To test things out, I left this line commented out and then changed my form's "Process Joomla plug-ins" option to "No". I checked my form's detail view and the email address is no longer cloaked, as I expected.
I checked some of my other forms that are editable and contain email addresses, and they don't seem to have a problem with that line being commented out, as the email addresses are not cloaked which is what I want in that case.
So, my reason for posting is to get more information about how this works and to see if there are any drawbacks for me leaving that line commented out. It seems to work for me, but I imagine that it is in there for a reason, and I don't want to miss any unforeseen problems. I'd also rather not have to edit this Fabrik file as I may overwrite it in a future update and forget to edit it again. Thanks.
I have a form that displays email addresses in details view. I want these email addresses to be processed by Joomla's email cloaking plugin.
So, in the form options, I have "Process Joomla plug-ins" set to "Detail view only". Yet, the email addresses are not cloaked. I have also tried setting the option to "Detail & form view" and it still doesn't work.
I did a search through the forum and read that the Joomla cloaking plugin has caused a lot of problems in the past.
I searched through Fabrik files and found the following line in /components/com_fabrik/helpers/html.php
PHP:
$text .= '{emailcloak=off}';
I checked some of my other forms that are editable and contain email addresses, and they don't seem to have a problem with that line being commented out, as the email addresses are not cloaked which is what I want in that case.
So, my reason for posting is to get more information about how this works and to see if there are any drawbacks for me leaving that line commented out. It seems to work for me, but I imagine that it is in there for a reason, and I don't want to miss any unforeseen problems. I'd also rather not have to edit this Fabrik file as I may overwrite it in a future update and forget to edit it again. Thanks.