Joomla Jumpstart

  • Increase font size
  • Default font size
  • Decrease font size
Home General Joomla! Frequently Asked Questions (FAQs) Why is my JavaScript code deleted by the Joomla article editor?

Why is my JavaScript code deleted by the Joomla article editor?

E-mail Print PDF
User Rating: / 6
PoorBest 

If I insert a JavaScript or iframe reference to an Amazon.com book into the text of my article, when I click Save, the Amazon code is deleted. How can I get the article to save with the code?

 

The stripping of code is performed by the TinyMCE editor. If you are the Administrator of the site, you can go to the Plugin Manager, select the Editor - TinyMCE 2.0 plugin, and turn off the Code Cleanup option. However, this is not recommended because it opens the Joomla system up to potential hackers.

If you set the User Editor setting on your user account to Editor - No Editor, you can edit the HTML text directly and insert the code you need. Even better, you could setup a new Administrator account called something like textadmin and set the Editor - No Editor option on that account. On those occasions when you need to add special code, simply log out of the Joomla system and log back in using the text administrator account. When your edits are complete, change back to your standard account.

 
joomla_forum General Questions/New to Joomla • Re: JCE Editor = Confused http://goo.gl/fb/7Z2g3 Joomla Forum
by joomla_forum. Link: Google
vigilanteinfo EDITOR REVISTA PEOPLE PRESENTA LIBRO EN “NOCHE DE LUZ” y habla de Emma…Más detalles en http://bit.ly/coaHiR
by vigilanteinfo. Link: web
mamura JCE - o melhor editor de textos para o Joomla | Mamura http://bit.ly/9KYPtu
by mamura. Link: TweetMeme
Mirka_B Estou com 10 janelas abertas, o photoshop, filezilla, joomla, e-mail e editor de texto abertos, o que eu tava fazendo mesmo? #hiperatividade
by Mirka_B. Link: web

Google AdSense