Custom Code problem - Forum | JoomShaper
Solved Helix Framework

Custom Code problem

Asked by Giovanni Cerretini 10 months ago Last activity 10 months ago

I cannot add a javascipt code to "Befor </head>" field.
When I click on Save button I got an Error: undefined.

If I put the same javasscript code in "After <body>" field Save button works, but I need to have the javascript code in the <head> .

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
10 months ago · edited

Ciao Giovanni.

I suggest to download and install Phoca Site plugin (phoca.cz) - it allows you to use custom code also in the Head. Becuase it works as plugin it will not make any problems in Helix Template Options.

This is a very tiny plugin (8Kb), and Free ! I used it many times, trust me.

Giovanni Cerretini Asked this

Thank you Paul,
I'll try.

Paul Frankowski Senior Staff

If now all works, please mark topic as solved.

3 more replies

Rashida Rahman Staff

Hi there!

Sorry for your experience.

Would you please share details about the code and your admin access to check the issue for you?

Please note that, we do not support customization though.

Best regards,

Rashida Rahman Staff

Hi Giovanni Cerretini,

We haven’t heard back from you regarding this issue.

Could you please confirm if everything is working fine now?
If so, kindly accept the most helpful answer to close the post.

Best regards,

Giovanni Cerretini Asked this

Hi Rashida and Paul,
I confirm that I cannot add Javascript with Helix Ultimate 2.2.1.

I'll try other solutions.

Thank You

Paul Frankowski Senior Staff

But I hope, Phoca Site plugin helped, hmm?


Besides, you should be able to use custom.js file, more in Helix documenation.

Log in to reply.