Finion Template: Adding Script To Custom Code, Throws Error And Can't Save - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Finion Template: Adding Script To Custom Code, Throws Error And Can't Save

AD

Albatroz Digital

Template 3 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

0
4 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #54771

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.

0
AD
Albatroz Digital
Accepted Answer
3 years ago #54773

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #54776

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

0
AD
Albatroz Digital
Accepted Answer
3 years ago #54922

Hi! Here is the example javascript code. Thanks

0