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
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

gsvitak - October 28, 2009 - 04:47

Sorry forgot the code tags..

print '<a href="/user" class="popups" on-popups-options="{reloadWhenDone: true}">login</a> /

#2

SocialNicheGuru - October 29, 2009 - 01:19

cool. thanks!

Chris

 
 

Drupal is a registered trademark of Dries Buytaert.