Confirmation Page Rerouting back to Index PHP?

  • dupree1015
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 4 months ago #13103 by dupree1015
Hello,

First, I want to say that I love this program. It is well thought out, easy to install and quick to learn. Thank You!

I want to ask you about a challenge that I'm running into during the registration process. I have two templates that I'm using, one for the home page and one for the rest of the site. When I click on the Events Tab, and click to register for an event, I'm routed to the following URL (SEF is not in place yet)

xtrememediademo.com/newretire/index.php?...event_id=1&Itemid=54

This goes to the correct place. However, when I either go to confirm an Individual Registration or click on Group Registration, add the number of registrants and then click on "next", I'm rerouted to xtrememediademo.com/newretire/index.php , and I really need to stay on the other page.

I ran into this same issue once when running Virtuemart on a site and found that I had to add in some code inside the file: 'libraries/joomla/application/application.php' where after the following code...

// get the full request URI
$uri = clone(JURI::getInstance());

I had the following code in order to redirect VM so that VM wouldn't go to the index.php page...

// VM uri fix
if (!$uri->getVar('Itemid') && isset($_REQUEST) || !$uri->getVar('option') && isset($_REQUEST)) {
if (!$uri->getVar('Itemid') && isset($_REQUEST)) {
$uri->_query .= ($uri->_query ? '&' : '').'Itemid='.(int)$_REQUEST;
}
if (!$uri->getVar('option') && isset($_REQUEST)) {
$uri->_query .= ($uri->_query ? '&' : '').'option='.$_REQUEST;
}
parse_str($uri->_query, $uri->_vars);
}
// end VM uri fix

Is there code that you can provide to me based on the code above that I can add so that the page will remain in place? I'm not a PHP programmer so for me to write the code myself would be quite a challenge to say the least.

Thanks for your assistance,

Cat' :)

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #13107 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Confirmation Page Rerouting back to Index PHP?
Hi

You don't need to modify code. Simply go to Event Booking -> Configuration, set Fix Process Button not working config option to Yes. After that, It will work as expected !

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc