Login module redirect with SEF - FIXED!

Please LogIn to Reply!

Post By: admin | 26-01-2012 06:35 Reply

Managed to fix the login module success redirect when using Joomla! SEF URLs.

1. Open modules/mod_login/helper.php
2. Navigate to LINE 58
3. Comment (or delete) line 58 which reads like:
Code:
$url = 'index.php?'.JURI::buildQuery($vars).'&Itemid='.$itemid;

4. Replace it with:
Code:
// get article url path
$articlePath = &JFactory::getURI()->getPath();
// construct url
$url = $articlePath;


This is blog layout two levels deep, and accessing it's child articles. Ie. Menu Item > Blog Layout > Article

Hope this helps!

Post By: | 09-20-2012 00:10

Hi jaed,
You are my lifesaver !!!

I found that this line is concerned, but I did not know what to do.
Thank you so much !

(I joined this forum to thank you !)

`Reply Or Comment!
Please LogIn to Reply!