solved Modal Login

PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
When directing people from other websites to parts of our site that require login, the original linked pages are not easily found by our visitors/members after login.

Is there a way to create a modal login/signup so that the link is maintained?

I can use a login link on the page with a target="_blank", but on a smartphone, pages/tabs get lost easily.

Any thoughts?


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

updated by @the-patria-company: 10/01/16 10:16:23AM
michael
@michael
8 years ago
7,715 posts
After the login is complete, you have options as to where to redirect to:
YOUR-SITE.com/user/admin/quota/hl=login_page#ff-login_page

ACP -> MODULES -> USERS -> USERS -> QUOTA CONFIG -> LOGIN REDIRECT
Quote: After a successful login, what location should the user be redirected to?

"profile" - User will be redirected to their Profile.

"index" - User will be redirected to the Site index page.

URL - Enter an actual URL (eg. http://www.mysite.com/post_login_page) for the user to be redirected to.
Default: profile

You could specify a url of a custom module that recorded the last page the users was on. That might even be recorded for you already on the jrCore_get_local_referrer() function.

Tags