CG Phone plugin

1 1 1 1 1 Rating 0.00 (0 Votes)
 

Compat icon 3 x longfirst look joomla 4This plugin, when used in an article/a contact info, makes phone numbers "clickable" when seen on a phone and hides them from bots.

 

Version 1.1.1 : works in Contact Info
Version 1.1.0 : becomes a system plugin
Version 1.0.3 : use classe cghidden instead of cgphone
Version 1.0.2 : use Browser class 
Version 1.0.1 : Joomla 4.0 compatibility 
Version 1.0.0 : first version (2019, july)

Download CG Phone plugin
(version 1.1.1)

(déjà téléchargé 33 fois)

 

Important : don't forget to activate this plugin.

From https://stackoverflow.com/questions/4439320/how-do-i-protect-phone-number-from-bots

In your article or a Contact Info, just add {cgphone=<numéro de téléphone> [|img=<image du no de téléphone>]}

img parameter may be omitted.

For example, {cgphone=0101010101|img=images/phone.png} displays 

On PC, if defined, an image will be displayed instead of the phone number.

On phone, your phone number will be displayed and becomes clickable.

With CG Phone plugin's parameters, you may customize, via CSS, phone numbers rendering.

Note: iin this article, { } are bold, so they are not replaced before being displayed.

Important : due to caching issues, CG Phone becomes a system plugin. If you were using the previous version and customized your CSS, don't forget to implement those in the new plugin.