How to refeer back to last visited page when logging in CB?
Posted: 18 Nov 2009, 13:42
I managed to reefer back to the last visited page, when they log in with Community Builder, with this code in mod_cblogin.php:
if ($login=="") {$login=$_SERVER['HTTP_REFERER'];}
Placed right after: $login = $params->get( 'login', $return ); in line 91...
My problem is that Phoca Download doesn`t follow this, it sends the user back to the index.php eventhough i made that if rule in the community builder module...
Any bright thoughts on how to fix this?
(if there is no simple fix, maybe this post is a feature request...)
if ($login=="") {$login=$_SERVER['HTTP_REFERER'];}
Placed right after: $login = $params->get( 'login', $return ); in line 91...
My problem is that Phoca Download doesn`t follow this, it sends the user back to the index.php eventhough i made that if rule in the community builder module...
Any bright thoughts on how to fix this?
(if there is no simple fix, maybe this post is a feature request...)