Saturday, July 20, 2013

How to add javascript code in your Joomla! 2.5 article

By default Joomla! CMS strip script tag <script> by default to prevent this follow this steps

First Method ( Using TinyMCE Editor )
  1. Log into your Joomla 2.5 Admin area
  2. In the top menu, hover over Extensions and click Plug-in Manager
  3. From the Select Type filter, choose editors
  4. From the list of editors, click on Editor - TinyMCE
  5. From the list of Basic Options, remove script from Prohibited Elements
  6. Click Save in the top right menu. Now you can add iframe tags to your articles and they should not be stripped.
Second method:
  1. Log into your Joomla 2.5 Admin area
  2. In the top menu, hover over Site and click Global Configuration
  3. Click on the Text Filters tab
  4. For your Super Users select No Filtering from the drop-down
Disqus Comments