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...)
How to refeer back to last visited page when logging in CB?
-
- Phoca Newbie
- Posts: 2
- Joined: 18 Nov 2009, 13:31
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to refeer back to last visited page when logging in CB?
Hi, sorry I don't understand how CP can take an effect on Phoca Download?
If you find Phoca extensions useful, please support the project