Custom Code Problem - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Custom Code Problem

GC

Giovanni Cerretini

Helix Framework 1 week 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> .

0
7 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 week ago #210021

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,

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 week ago #210035

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.

0
GC
Giovanni Cerretini
Accepted Answer
1 week ago #210089

Thank you Paul, I'll try.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 week ago #210112

If now all works, please mark topic as solved.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 days ago #210442

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,

0
GC
Giovanni Cerretini
Accepted Answer
4 days ago #210457

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

I'll try other solutions.

Thank You

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 days ago #210461

But I hope, Phoca Site plugin helped, hmm?


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

0