Custom Code - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Custom Code

J

johnny

SP Page Builder 2 years ago

I would like to add some custom PHP code into a SPPB page - what's the best way to do this?

0
6 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #96271

Hi Johnny,

sorry, but we are not HDAnyCode support, it worked well in J3.10, so please:

  1. Test module in template module position first
  2. If still will not work - ask module developer , probably those are Joomla security settings or there is J4 version somewhere.

Alternative module as always on J! Extensions Directory.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #96113

Hi

Thanks for contacting us. You can follow this forum post below:

https://archive.joomshaper.com/forums/how-to-add-php-code-in-sp-page-builder

-Regards.

0
J
johnny
Accepted Answer
2 years ago #96115

Neither of the suggested extensions are Joomla 4 compatible though?

0
J
johnny
Accepted Answer
2 years ago #96124

I have installed AnyCode as suggested but my PHP is being commented out, see images https://imgur.com/a/tdN1s5C

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #96257

This forum post may help you

https://www.joomshaper.com/forum/question/8887

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #96272

You can always create your custom addon with php code inside. I know ... it sounds complicated at first look.

0