Cacher le champ mail [SOLVED]

More
13 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.

More
13 years 2 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...

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

More
13 years 2 months ago #18204 by Hableur
Ok, that's nice !

Thank you very much.

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

More
13 years 2 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
Time to create page: 0.567 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