Home Code Write javascript code in Joomla articles

Write javascript code in Joomla articles


I was integrating Twitter updates on a Joomla! site today and realized that whenever I was adding the SCRIPT to the HTML source code it was being wiped out when I would save.  Thankfully the fix is easy:

1. Go to Extensions–>plugin manager & click on Editor – TinyMCE 2.0
2. Go to Plugin Parameters
3. Select ” never ” to Code cleanup on save option and save it

Now you can write your javascript and other scripts in Joomla content pieces.

If you are using another editor then you’ll have to see if it has a similar option.
Please refer to this link for a thread from people who have struggled with this same problem.


Please enter your comment!
Please enter your name here