Code to insert components - Forum | JoomShaper
Staff replied SP Page Builder

Code to insert components

Asked by AJCS 1 year ago Last activity 1 year ago

Hi

I have some modules that allow you to use code to display their component.

This code, {creativeslider id="1"} only works on articles, not on any SP Page Builder components.

This code, {convertforms 1}, does work on SP Page Builder components.

Am I doing something wrong or what's going on?

Thanks

5 replies

Atick Eashrak Shuvo Staff

Please follow this documentation https://www.joomshaper.com/documentation/sp-page-builder/how-to-tips#how-to-use-shortcode-inside-sp-page-builder

Paul Frankowski Senior Staff
1 year ago · edited

Read also >> https://www.joomshaper.com/documentation/sp-page-builder/how-to-tips#how-to-use-rsforms-or-convert-forms-inside-page-builder

And yes, you can use Convert Forms (Pro/Core) module inside pages, as I do every single time when I need to. You don't need shortcode. CF Module can be used also inside Text addon, where shortcode loading module can be used >> https://www.joomshaper.com/documentation/sp-page-builder/how-to-tips#how-to-use-module-inside-text-addon

Paul Frankowski Senior Staff

And No, by default Joomla 4 or 5 do not allow using component inside different component, it was possible only as hack in J3.x by RegularLabs extension.

Paul Frankowski Senior Staff
1 year ago · edited

Maybe not all shortcodes can work that way.

Besides, first test if that slider shortcode works in Joomla core Custom module (!), if not - contact with its developer.


I make no secret of the fact that the least problems are when modules are used. Like for example, Convert Forms Module etc.

Log in to reply.