Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 05h 08m 43s
Claim 50% off
Staff replied SP Page Builder

Insert PHP-Code in Pagebuilder Elements

Asked by Roginho 1 year ago Last activity 1 year ago

Hi,

it is possible to insert the element raw-html to pagebuilder. Is it possible to insert "raw-php"? Is there a workaround or something?

Kinde regars.

2 replies

Atick Eashrak Shuvo Staff

Apologies for the inconvenience, but inserting raw PHP code directly into SP Page Builder is not supported. The Raw HTML addon only accepts standard HTML, CSS, and JavaScript—not PHP.

Paul Frankowski Senior Staff
1 year ago · edited

If I may....

You have two options:

  1. Custom Addon (where you can add your own php code inside) - harder option
  2. By using Custom Code module, that allows you to use any code inside (php,js etc)

https://extensions.joomla.org/tags/custom-code-in-modules/

Just find what will work for you. Then use that module inside Module addon (!)

Log in to reply.