How to Add JavaScript to Joomla Content
by Gabi SolomonSometimes you need to add some javascript to your joomla content, being either some type of ad ( google adsense or yahoo ) or maybe just a code to display a widget from another site.
I bet you have tried to add it to the content, but as you will see the editor will replace the code with the HTML coresponding code. Ex: < will become >.
This will make all the javascript code display on the page and nothing will happen.
The solution is quite simple, or at least the one i found ![]()
Login in as admin
Go to Site
Global Configuration
Default WYSIWYG Editor
Change it to No WYSIWYG Editor
Click Save.
Now go to Content:
Just add your Javascript in the Content Area
Click Save
Pretty basic solution. Sorry you need to do this each time you want to add javascript to you’re articles. havent found any other method. If you do please tell me in a comment to this article.
Cheers
Related Posts
-
Jgardiner
-
Godsendn
-
seopilot
-
Damion Schweizer
-
Анатолий Сергеевич Крамко
-
Shaveen Kaushal
-
Adobe Business Catalyst
-
mugarurac
-
Subhramani
-
stevoo
-
Gabi Solomon
-
Pauloandes
-
Gabi Solomon
-
Pauloandes
-
Willem
-
Gabi Solomon
-
Do not do it! I lost my pages
-
illank
-
azpunkazme

