We prepare you with the latest online marketing techniques, and create a comprehensive plan that produces the best return on your marketing investment. We are well versed in Google adwords, analytics, email marketing, social networks, link campaigns and more.
Ecommerce & Content Management
We are experts in organizing, developing, and designing multi-lingual Ecommerce and content rich websites. We can administer your website or teach you how to take control of your website.
I find this strange that this is not automatically a part of the joomla code, after login, the user always wants to go back to the last page, and this is rarely the front page. This solution worked perfectly for me to redirect a joomla user after the login component page.
Basically I added a few lines of code to the login.html.php file located in com_login. On line 29 I added this, $url = mosGetParam( $_SERVER, 'HTTP_REFERER', null ); and down towards the bottom of the form I added the $url variable so the last lines of the form look like this:
If you are using the login module, the redirect page variable can be set in the module admin page properties. No hack needed.