Awaiting an answer SP Page Builder

Cannot add JS in header section

Asked by burn.hard 3 years ago Last activity 3 years ago

Hi
When I try to add custom JS to header section of the template via template editor,
I cannot save it, it gives me error messages , while saving
https://prnt.sc/AwqNO1Wmay-F

However, i can add it to custom.js file

Also, after updating to SP page builder 5.1.3,I cannot save the settings, giving error 406. and frontned editing is blank

https://prnt.sc/RckE_ITnaW0Z

None of the updated SP p age builder websites, to 5.1.3 seems to be working, in the sense, cannot save settings, 406, error, cannot edit pages in frontend..blank pages.

Please advise

Thanks

3 replies

burn.hard Asked this

Login credentails given

Paul Frankowski Senior Staff
3 years ago · edited

Hi,

we cannot change Helix template php code on the forum, but we will investigate that before next Helix update.

By now I suggest installing Phoca Site plugin that allows you to use Custom Code also in the Header area, maybe that will help. If not, then contact "script" developer - in most cases other types of scripts work without those suprices. Probably there is JS conflict that crash 2 products, that is beyond typcial support.

burn.hard Asked this
3 years ago · edited

Thanks for your quick reply.
I have installed phoca site plugin and the custom code added.

Recently we have updated SP page builder on several website to 5.1.3
Cannot save the settings, front end editor is blank.
https://prnt.sc/RckE_ITnaW0Z

I have sent access to the site via hidden content box.

Please advise

Thanks

Jag

Log in to reply.