to put a shortcode in a text addon. - Forum | JoomShaper
Solved SP Page Builder

to put a shortcode in a text addon.

Asked by HDcms 5 years ago Last activity 4 years ago

Hello,
I need to put a shortcode in a text addon.
This addon works well in a joomla article and the developer Tassos told me that I had to put "onPrepare" to get the rendering.
In the override of a joomla article, I put
<?\php echo \JHtml::_('content.prepare', '{convertforms 2}'); ?>
but in this text addon, how to make a form appear by putting this shortcode: {convertforms 2} ?
Regards

Accepted answer

Marked as the solution

6 more replies

Paul Frankowski Senior Staff
  1. Your img links don't work now. Anyway, this is the only method that sometimes works.
  2. If we talk about this same extension Convert Forms (tassos.gr) - just use MODULE from it, not shortcode! In PRO version there is.

foto_6101_2021.png

Pavel

Hi. Why do not you use convertforms in the form of a module? Publish Joomla Module Addon and select ConvertForms Module there.

HDcms Asked this

HI,
I initially preferred the solution with the shortcode in the text addon because it was more homogeneous graphically.

I used the convert forms module, a bit unpretty but it works.
Thanks for your answers
Regards

HDcms Asked this

Hi
Thanks

Log in to reply.