Insert php - Forum | JoomShaper
Staff replied SP Page Builder

Insert php

Asked by Manuel 5 years ago Last activity 5 years ago

Hi all,
I have created a page under SP-Pagebuilder called Contact, no content yet.
I have an external software for a contact form. This is also already installed. It is called phpcontact.
To display this on the SP-Pagebuilder page Contact I would have to insert a PHP code and a link to the css file.
As I said, I have not yet entered anything under the Contact page. Which addon would be suitable for something like this? Would be great if someone could explain to me how to add php and a CSS link to a SP Pagebuilder page.
Here a few Screenshots
https://prnt.sc/129y9sm
https://prnt.sc/129yb0k
https://prnt.sc/129y7q4

Regards Manuel

3 replies

Ofi Khan Staff

Hello Manuel

We don't have a custom PHP addon yet. But there are two methods to achieve it (they may work):

  1. Download and install: Flexi Custom Code module (directory.appsnity.com).
    Add custom PHP code inside, then check if work by publishing in a module position. If yes, in module settings change module position to "pagebuilder" then you can put that module inside "Module" addon if you need code inside SPPB.
  2. Install the Sourcerer (From Regular Labs) it can be Free or Pro version, and put code inside Custom Module. In module settings: Options > Prepare Content: Yes - and publish inside "Module" addon.

Best regards

Ofi Khan Staff

You are welcome

Log in to reply.