We're using 7.1.3.
We have users adding hyperlinks in event descriptions to other sites. How do we stop the ability to hyperlink in event descriptions? It uses TinyMce so we don't want to disable that sitewide. Any help is much appreciated.
We're using 7.1.3. Bill and Deb |
Edit inc/utils.inc.php file by adding the following (near ~626 line): $oConfig->set('HTML.ForbiddenElements', array('a')); but it will disable links adding site wide, not only in Events module Rules → http://www.boonex.com/terms |
The solution is to edit your TinyMCE config file and edit the allowed elements for TinyMCE. TinyMCE will strip out any anchor tags when the event is saved. If you only want this (stripping out anchor tags) for the event module and not other areas of the site, then you create a new TinyMCE toolbar set and set the event module to use that toolbar set. You can also remove the link plugin as well. This requires custom code work; if you can not do it, then PM me. Geeks, making the world a better place |