I'm using Auto Assign Role with a custom registration page. My page is at /register, but the popup is accessed via /user/register. This has the unfortunate caveat of losing the "I'm a modal" state and making a lot of stuff not work.

I'm going to try modalframe_child_js from within paths that I know will only be in modal frames...and go from there.

Comments

dsnopek’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Can you get the project to use $form_state['redirect'] rather than drupal_goto()? Unfortunately, there's no way for an external module (include automodal) to alter the drupal_goto() path. :-/ I think your solution with adding modalframe_child_js() to all paths that you know will only be in the modal is the only solution, without getting the autoassignrole people to change their code.

wizonesolutions’s picture

Heh, yeah, that project was way long ago. But yeah, I believe that is what I did in the end.