I have certain pages that require to a user to be logged in Joomla. When they click on the links to those pages a login box appears in an iframe overlay. Once they login, I want to redirect them back to the page they were trying to login to, however, Joomla seems to only allow a user to be redirected to a page that is predefined in the login form parameters. Is there a way to do this without completely hacking Joomla.
If not, does anyone have a recommendation on how to hack this an easy way.
I used
$this->setRedirect($link, $msg);
For more information on this function refer here http://docs.joomla.org/API15:JController/setRedirect
You can use like
[SOLVED] I have solved this issue and implemented in the site. Follow this link, I have written a 5 step tutorial on how to do this.(No Code editing required).