The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

0

An approach I have found that works for my situation in regards to the returning to the same URL is the use of a hidden input to grab the URI as I want it and then plug it into the redirect in the controller to come back. In the View default.php I have this, <input type="hidden" name="return_url" value="<?php echo htmlspecialchars(JUri::getInstance()...


1

It doesn't look like you are including the menu Itemid in your redirect which is why your URL is changing. Add another hidden field with the value of your current Itemid. Your redirect code is fine just add the &Itemid= portion to include the value that you are passing.


Top 50 recent answers are included