I'm tying to add a module to the confirmation message. I added the same module inside the form ursing this code:
The code is not working for the confirmation message. It's there any way to do this?
<?php jimport('joomla.application.module.helper');
$modules = JModuleHelper::getModules('position1');
foreach($modules as $module)
{
echo JModuleHelper::renderModule($module);
}
?>
The code is not working for the confirmation message. It's there any way to do this?
Hi danaviziteu,
I think that the CFv4 Thanks Message action doesn't support PHP; please try using a Custom Code action instead.
Bob
I think that the CFv4 Thanks Message action doesn't support PHP; please try using a Custom Code action instead.
Bob
Thanks for the reply, but can you give me more details? If I add the module in a custom code before the thank you message, how can I call the code in the thank you message?
This topic is locked and no more replies can be posted.