I would like to add some custom PHP code into a SPPB page - what's the best way to do this?
Solved
SP Page Builder
Custom Code
Accepted answer
Marked as the solution
Paul Frankowski Senior Staff
3 years ago
· edited
Hi Johnny,
sorry, but we are not HDAnyCode support, it worked well in J3.10, so please:
- Test module in template module position first
- 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.
5 more replies
Mehtaz Afsana Borsha Staff
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.
johnny Asked this
Neither of the suggested extensions are Joomla 4 compatible though?
johnny Asked this
I have installed AnyCode as suggested but my PHP is being commented out, see images https://imgur.com/a/tdN1s5C
Mehtaz Afsana Borsha Staff
This forum post may help you
Paul Frankowski Senior Staff
You can always create your custom addon with php code inside. I know ... it sounds complicated at first look.
Log in to reply.