Page 1 of 1

How to refeer back to last visited page when logging in CB?

Posted: 18 Nov 2009, 13:42
by finnerik
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...)

Re: How to refeer back to last visited page when logging in CB?

Posted: 18 Nov 2009, 15:58
by Jan
Hi, sorry I don't understand how CP can take an effect on Phoca Download?