1. SP Quick Contact (Module, not addon)
  2. Monday, 23 July 2018
How do I redirect when I click on a button?
Accepted Answer
Hi. You have to customize module code. It's beyond support.
If your PHP skills are not good, I suggest to find contact module which already have this feature.
---

RSforms pro have it, but it's commercial.
Responses (5)
PHP support is not here. Sorry.
Please tell me why this form of redirect does not work?

if ($mail->Send()) {
return '<span class="sppb-text-success">'. JText::_('COM_SPPAGEBUILDER_ADDON_AJAX_CONTACT_SUCCESS') .'</span>';
header('Refresh: 3; URL=index.html');

} else {
return '<span class="sppb-text-danger">'. JText::_('COM_SPPAGEBUILDER_ADDON_AJAX_CONTACT_FAILED') .'</span>';
}
ок
with a delay of 3 seconds :)


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.