We've built an extranet for a client, and now they've requested a new feature - highlights from various modules on the login page, hoping to entice their employees to login and view the site. The login isn't the default page - the home page checks to see if you're logged in, and if not you are redirected to a login page.
My question is - can I have a non-logged in user click on an article on the login screen (say News, Calendar or Blog), capture the link to that article, trigger a modal window to prompt them to log in, then upon successful login direct them to the article they clicked on?
I'm running CMSMS 1.11.7, but we can upgrade if this functionality requires it.
Custom redirect after login
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Custom redirect after login
You'd prolly have to do it via a combination of javascript, a cookie or custom url parameter, and some smarty magic.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
- tophers
- Forum Members
- Posts: 218
- Joined: Thu Jun 07, 2007 7:25 pm
- Location: Calgary, Alberta, Canada
Re: Custom redirect after login
That's what we were thinking - at this point though I'm not sure where to start. Anyone out there tackled something similar?