How do I Add Code Before In SPPB - Question | JoomShaper

How do I Add Code Before In SPPB

B

blue_Shift

SP Page Builder 3 weeks 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?

0
5 Answers
B
blue_Shift
Accepted Answer
3 weeks ago #153851

I actually wound up using the latest beta of this module assigned to the debug position. (HD Anycode may work? but it's listed as Joomla 3, not 4 and up.)

https://github.com/PavelSyomin/custom_code/releases

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 weeks ago #153846

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.

0
B
blue_Shift
Accepted Answer
3 weeks ago #153847

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 weeks ago #153849

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

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 weeks ago #153865

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.

0