Disable Joomla's automatic conversion of email addresses to hyperlinks (Email Cloaking)

It seems that Joomla, starting from version 2.X and 3.X,,automatically converts email addresses in articles into hyperlink format。Today, when using JavaScript for the email address on a specific page,it resulted in clicking,causing two Outlook windows to pop up,因此需要關閉內建的轉換功能。

 

  此功能的正式名稱為 Email Cloaking,舊版的 Joomla 可能可以在 Plugin 找到,Joomla 4 已經找不到了,因此要停用此功能時,需要在文章的任一處加入下面語法,該篇文章的 Email Cloaking 功能即會關閉。

{emailcloak=off}

 

【參考連結】

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.