0.00 (0 votes)

To make our templates even easier to modify, we've added the ability to include your own JS scripts. Learn more how to do this.

How to add custom JS to a Joomla template?

Joomla templates usually contain many scripts, but adding your own may not be an easy task. Usually, to add your custom JS you need to load the file in the template index or layout file. The problem is that such changes can be overwritten when the template is updated.

Custom.js file for your own JS scripts

To have complete control over your own JS scripts, our Joomla templates based on EF4 Framework let you create a custom file called custom.js where you can put all your JS scripts.

Where to keep the custom.js file?

This file does not exist in the template by default, so you need to create it manually in the following location:

/templates/[template-name]/js/custom.js

Our EF4 Framework will automatically detect this file after refreshing the page and it will be added to the head section of the template after other JS scripts.

Users' reviews

Total rating: (0 votes) Log-in to add review

Video Tutorials

EF4 Framework for Joomla! 3 - introduction

Joomla! 3 Quickstart Installation Guide

Speed up your website! Must watch video!

How to create Joomla article?

Joomla ReCaptcha - how to set up?

How to use Joomla editors?

How to display a module in Joomla article?

How to configure Joomla contact form?

How to check Joomla module positions names?

How to configure your language for Joomla 3?

How to create Joomla custom HTML module?

How to create Joomla menu?

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2018 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.