More than 1000+ satisfied clients and counting, since 2010

Blog

Add js to Joomla Template in Simple Steps

Add js to Joomla Template in Two Different Ways

Joomla allows adding js to specific pages. You can add js to Joomla template using the following guide.

How to Add js to Joomla Template

There are two ways to add js to Joomla templates. Depending on the position where you want to add it follow the steps given below:

Add js File in Component Position

If you want to add it in the main content area or the component position, then you need an extension. Use an extension that allows you to place the java script inside a regular Joomla article. You can add any code you want in the article and link it with a regular menu item.

Add js File in Module Position

Add js to Joomla TemplateYou can add the js file in a module position using custom HTML module. If you turn off the WYSIWYG editor, you can easily place the java script inside the content area of the module itself.

The reason why the editor needs to be switched off is because the editor will evaluate the code and rectify it. So there are chances of losing data present initially in that position. You can limit where the module is displayed under the menu assignment selection.

In case you face any difficulty in doing so then request a quote. Our expert team of professionals will assist you to add js to Joomla template. Avail our Joomla template customization services.

Written by

The author didnt add any Information to his profile yet