Redirect to the content profile node after login using the Popup API module
| Project: | Login Destination |
| Version: | 6.x-2.5 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Hello
Thanks for maintaining this module. I look forward to the merge into LT.
I have a question...Ultimately, I want to redirect to the login user's profile (ie /user/uid) using the popup api module.
I have the module installed and working fine with the default login form using garland as my theme or if the default login form is used without popups.
However when I use the pop api to display the login form, the login succeeds but the user is not redirected. I am using the following html with the reloadWhenDone option of the popupapi module.
<a href="/user" class="popups" on-popups-options="{reloadWhenDone: true}">login</a>Using Firebug, I enabled the Net tab and I can see the url the browser is trying to "Get" is /user?destination=node followed by a post to the same url. However, it looks like the get to the "/user" url is not issued.
I have the settings for the module as follows:
Redirection condition
When should redirection happen?
Always Selected
Destination URL settings
To where exactly should the user be redirected upon login.
Preserve destination Checked
Static URL Selected
Any suggestions?
Thanks
G
