Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 08h 29m 59s
Claim 50% off
Awaiting an answer Templates

Finion template: Adding script to Custom Code, throws error and can't save

Asked by Albatroz Digital 4 years ago Last activity 4 years ago

Hi!

Using Helix Ultimate 2.0.5, when i try to add custom code with javascript the save function throws an error "Error:undefined".

Tried in "Before </head>" and "Custom Javascript"

It works using Helix Ultimate 1.1.2.

Can you verify?

Thanks

4 replies

Paul Frankowski Senior Staff

Hi,

we will check, by now please add your custom JS code inside custom.js - which should be in template folder (/js/) - then it should be loaded.

BTW

later, zip that file, upload somewhere and share link to it for testing.

Albatroz Digital Asked this

Hi!

i just find out that it works only in the "Before /Body".

So, in "Before /Head" and "Custom Javascript" it doesn't work.

Thanks

Paul Frankowski Senior Staff

Good to know, but please example js code as well.

Albatroz Digital Asked this

Hi!
Here is the example javascript code.
Thanks

Log in to reply.