Redirect to the content profile node after login using the Popup API module
gsvitak - October 28, 2009 - 04:46
| Project: | Content Profile |
| Version: | 6.x-1.0-beta4 |
| Component: | Base module |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello,
Not sure if this is the right place to post but figured I would start here...
I am using the popup API module to display the login form. However I want to redirect to the content profile node of the user after successfull login. I am using the reloadWhenDone option to reload the page after successful login. Additionally, I used the suggestion in the forum to use the rules module to redirect on successful login.
So the popup appears and login, the page reloads but the redirect does not occur..
Any suggestions?
Below is the code in my theme.
print 'login /

#1
Sorry forgot the code tags..
print '<a href="/user" class="popups" on-popups-options="{reloadWhenDone: true}">login</a> /#2
cool. thanks!
Chris