PHP Code In SP Pagebuilder Pages - Question | JoomShaper

PHP Code In SP Pagebuilder Pages

AM

Allan Malver

SP Page Builder 1 week ago

Is it possible to make a page in SP pagebuilder with raw code - not just html but PHP as well?

0
4 Answers
ML
Marc Lang
Accepted Answer
1 week ago #212168

Hi,

basically yes, you can. I did this once for a customer. The trick is to install Sourcerer (plugin) and then put your code in a HTML module and place that into Pagebuilder. It's a bit of a workaround, but I've had no issues with it so far.

Best Marc

0
AM
Allan Malver
Accepted Answer
1 week ago #212174

Thanks alot. That did it! Now I'll evlaluate if it's easier just to put the code in an article. But I think Module is much better.

Thanks!

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 week ago #212170

Hi Allan.

You have to install first a Module that support custom code (PHP, JS etc.) as always you will find on JED, then just use it thru Module addon.

I have those

info_3626_2025.jpg


For typical use Sourcerer is too heavy (1,8Mb) vs HD AnyCode module (1,6 Kb) or JO Custom (11 Kb) a huge difference, right

0
AM
Allan Malver
Accepted Answer
1 week ago #212175

I'm using Sourcerer but maybee i'll try out the other ones. Thank you for the answer.

0