Giorgi625 VIP
Total posts: 655
31 Oct 2016 10:14

I get this text when I display Record with email field on map marker info window: "This email address is being protected from spambots. You need JavaScript enabled to view it." How can I disable this and just display email link?

Last Modified: 13 Nov 2016


Giorgi625 VIP
Total posts: 655
02 Nov 2016 15:53

I discovered that it is caused by email cloaking plugin of joomla but when I disable it it displayes email field as simple text, not linkable, so need to fined other solution to solve it :/


Giorgi625 VIP
Total posts: 655
04 Nov 2016 19:59

I tried Email protector from RegularLabs, but as I found from this post Click here to link... it is not able to protect emails in maps popup. So how I guess I just need to disable cloak plugin and display email as a text on map marker popup. But other pages it will displays also as a text if I will disable plugin so will wait for answer from client wants he disable plugin or not. Hope when Sergey will have time, he will take care of it. As I saw from link provided by user of RegularLabs i nthat extension this problem was solved.


Sergey
Total posts: 13,748
08 Nov 2016 10:13

Email addres is an email field or just email address insihe HTML text field?


Giorgi625 VIP
Total posts: 655
08 Nov 2016 18:44

Sergey Email addres is an email field or just email address insihe HTML text field?

<?php echo $record->fields_by_id[12]->result;    ?>

I just call email field by ID, nothing special. 12 is Email fields ID.


Sergey
Total posts: 13,748
13 Nov 2016 09:55

Make a copy of output template of this field and change there

$fvalue = JHtml::_('content.prepare', $this->value);

to

$fvalue = $this->value;
Powered by Cobalt