
nmsinc
User
Sep 10, 2011, 10:58 AM
Post #1 of 7
(2384 views)
Shortcut
|
|
Membership Login / Logout Page Redirect
|
Can't Post
|
|
Using Membership 1.05 with CMS 2.11 – The websiteMembership.php lines 17 and 18 listed below allow for a redirect back to the page that the login or logout were called from, however, it always takes the user back to the home page and not the last page that called the action. Any suggestions? $GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL'] = '/'; // user gets redirected to last page that called websiteLogin_redirectToLogin() or here if none $GLOBALS['WEBSITE_LOGIN_POST_LOGOFF_URL'] = '/'; // user gets redirected to last page that called websiteLogin_redirectToLogin() or here if none Thanks Ray
|