Thanks for this module. I have been seeking to allow people to create an account without leaving the current page.

For anyone else who wants to use, try:

/user/modal/register
/user/modal/login

Target: Open in This Window / Frame

This is working great for in Danland theme using TinyMCE editor.

Thanks!

Comments

Louis Bob’s picture

Hello Itserich,

I'm trying to do the same: user adds a new node, but cannot save it until he's registered.
So I have embedded the following link on the node form:
print(l(t('Register here'), '/user/modal/register', array('attributes' => array('target'=>'_parent'))));
...but the current window (node form) is closed, the modal page is not displayed as a pop up...

Could you please give me the exact code you have added ? It would be much appreciated since I'm fighting on this issue for too long now ;)

itserich’s picture

Hi Louis Bob -

I have not embedded in a node form.

I created a panel page, inserted an article at top and the form at bottom. Inserted the modal link in the article, not the node form.

Here is an example panel, check the LOGIN and REGISTER links. Looks like I took out the word modal from the link, not sure why:

http://iowapetadoptions.com/adoption-termporary-home-application

EDITEnded up using the Fancy Login module. http://drupal.org/project/fancy_login

Louis Bob’s picture

thanks a lot for your quick reply!
You're right, I'm trying something different from what you did. I have tried Fancy Login too, but the problem is that I cannot use it for registrations...
Thank you anyway (and happy new year!)