Error in Helix Ultimate when trying to add custom code - Forum | JoomShaper
Solved Helix Framework

Error in Helix Ultimate when trying to add custom code

Asked by sydk2017 2 years ago Last activity 2 years 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.

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
2 years ago · edited

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.
sydk2017 Asked this

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.

2 more replies

Paul Frankowski Senior Staff

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....

sydk2017 Asked this

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.

Log in to reply.