Error In Helix Ultimate When Trying To Add Custom Code - Question | JoomShaper

Error In Helix Ultimate When Trying To Add Custom Code

S

sydk2017

Helix Framework 1 year ago

Still cannot add Before Head or Before Body Custom code in Helix Ultimate! Before Body custom code shows up at the bottom of the website on the front end.

Before head throws and error on backend and will not be added.

Is this going to be fixed soon?

https://www.dropbox.com/scl/fi/5frx6key8blkxdsasdlvo/Error-adding-before-head-code.PNG?rlkey=tye1mnibami8x6hmkbwoo0c6w&st=8mujl4f1&dl=0

https://www.dropbox.com/scl/fi/weqt1lxazw7ekw0obhax9/Error-adding-code-before-body.PNG?rlkey=7ifeuod960tqk83as9ot6vjog&st=amo5pdxc&dl=0

Helix 3 has no problems - you should really just keep that up to date.

0
5 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #160044

Besides:

  1. In case of you can always use PhocaSite plugin.
  2. In most cases this kind of Custom code is damaged by RSFirewall default rules. I informed about that in Helix guide.
  3. In 99% cases it works, also on my private sites.
0
S
sydk2017
Accepted Answer
1 year ago #160158

I had disabled RS Firewall and in global config changed editor to “none” - and still encountered the same problems. I have 2 other Helix Ultimate sites that work fine – but this is a new site just set up a week ago.

I think Helix Ultimate has been out for at least 3 years, so I'm surpised I'm having problems like this. Helix 3 always worked perfectly every time. It's also very odd that I have to download an extension from another developer to bypass a glitch in the Helix Ultimate code.

I see that I need to just stick with Helix 3 for now, and hopefully down the road all of these problems with Ultimate will be fixed.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #160043

Hi,

Tracking code is inside Template Options you don't have to use Long Code, just put ID.

Template Options > Advanced > Analytics

https://www.joomshaper.com/documentation/helix-framework/advanced#analytics

We have that feature for very long time.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #160160

If you have RSFirewall, you have to add your IP to whitelist, then you can use Custom JavaScript code.

So this is not, and never was Helix Ultimate issue....

0
S
sydk2017
Accepted Answer
1 year ago #160177

Even with IP address added to RSFirewall, any code added to Before </head> still throws an error. But O.K. - guess I need to get the Phoca plugin for this.

0