Cacher le champ mail [SOLVED]

7 years 3 months ago #18169 by Hableur
Bonjour,

j'ai regardé un peu partout, mais je n'ai pas trouvé : est-il possible de cacher le contenu d'un champ mail pour avoir juste un lien cliquable mailto sans avoir l'adresse affichée en frontoffice ni directement dans le code ?

D'ailleurs dans celui-ci il y a une span cachée, contenant "Cette adresse email est protégée contre les robots des spammeurs, vous devez activer Javascript pour la voir. "

Y-a-il un réglage à faire ?

Merci.

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

7 years 3 months ago #18184 by ggppdk
About hidden div , it is there only in case javascript does not work.

When javascript works properly the message holding is hidden. So it is normal to be there.

The email address is not present in the document.

After page has loaded in the browser, some javascript code is executed that inserts the address.

It is possible to display some other text instead of email by hacking joomla emailcloak plugin, but that is of no real use for bots, since if a bot can execute javascript it will get it from:
the mailto: link will still in the code (after js execution).

Regards


-- 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 review. Thanks!

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

7 years 3 months ago #18204 by Hableur
Ok, that's nice !

Thank you very much.

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

7 years 3 months ago #18214 by micker
si c'est bon pense a editer ton titre de post pour ajouter [résolu]
Merci et bienvenu sur le forum

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.