Jump to content

Where to put Javascript with the new six theme?


LeonardChallis

Recommended Posts

I've cloned the new six theme and I now want to add some custom Javascript. I see there is whmcs.js added in the footer, but I don't want to add custom code here as it will get overwritten with updates.

 

Is there an accepted method of adding your own Javascript? I was thinking of just adding a custom.js, storing it alongside the other JS files and linking to it from footer.tpl.

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated