Greetings,
I have a system plugin installed that inserts a webform in the content using the code: {mauticform 2} the plugin runs some js that inserts the form into my content.
First off I really don't know what the accepted description for this type of { } thing. Wayback it was called Mambot and Wordpress calls it shortcode.
Anyway,
What code do I use to insert this code into a K2 layout override such as item.php?
My workaround right now is to create a module, add the snippet code to that module then in item.php I enter the following into php:
<?php
jimport('joomla.application.module.helper');
$module = JModuleHelper::getModule('mod_custom','signup-insert');
echo JModuleHelper::renderModule($module);
?>
Isn't there a better way to plugin into the K2 layout?
Thanks
Jack
I have a system plugin installed that inserts a webform in the content using the code: {mauticform 2} the plugin runs some js that inserts the form into my content.
First off I really don't know what the accepted description for this type of { } thing. Wayback it was called Mambot and Wordpress calls it shortcode.
Anyway,
What code do I use to insert this code into a K2 layout override such as item.php?
My workaround right now is to create a module, add the snippet code to that module then in item.php I enter the following into php:
<?php
jimport('joomla.application.module.helper');
$module = JModuleHelper::getModule('mod_custom','signup-insert');
echo JModuleHelper::renderModule($module);
?>
Isn't there a better way to plugin into the K2 layout?
Thanks
Jack