How do I add code before in SPPB - Forum | JoomShaper
Solved SP Page Builder

How do I add code before in SPPB

Asked by blue_Shift 2 years ago Last activity 2 years ago

I have a client wants to add specific code (javascript, of course) to landing pages built in SPPB. The Page Settings do not have a place to add such code before the </body> tag on those pages?

Accepted answer

Marked as the solution

3 more replies

Paul Frankowski Senior Staff

HI,

  1. HD AnyCode module or similar
  2. Custom Code paste inside it,
  3. Publish it module position below component area, in Helix Ultimate use: "content-bottom" or at the very bottom in "debug" position.

It works, I used that method many times.

blue_Shift Asked this

Couldn't I just do that with Joomla custom html (and JCE which allows code)?

Paul Frankowski Senior Staff

Probably you can, I told you how I does that.

As you know there are many ways to achieve the same result.

Paul Frankowski Senior Staff
2 years ago · edited

With small php customization I still use HD AnyCode in J4 and J5. This is so SIMPLE module that it will work even in Joomla 5.1 or 6.

Log in to reply.