I have a larger register form than usual and doesn't fit in the default config small box. a option to choose the size would be nice


diqidoq’s picture

Priority: Normal » Minor
Status: Active » Patch (to be ported)

rodrigoaguilera: please read the project page on the bottom about window size

diqidoq’s picture

Status: Patch (to be ported) » Closed (won't fix)

wtf? wrong status selected ...

nguyentran’s picture


Although there are options for size of window, but it not work. I have changed the class but it not work. Any ideas, thanks.

JordanMagnuson’s picture

Status: Closed (won't fix) » Closed (duplicate)

Please see (and test) my patch at http://drupal.org/node/1686198#comment-6458086 . It provides a ui to change the size of the default popup modals provided.

texas-bronius’s picture

I wonder if you ever resolved this issue? I have a form_alter that prepends a load of content to the User Login and Registration forms, and modal_forms does a dandy job providing the form in a modal. However, I don't see where/how to apply these presets (small, medium, large) or anything else to indicate a different size is expected for these forms supported by the module out of the box.

texas-bronius’s picture

Version: 7.x-1.0 » 7.x-1.2

Old question looks to be too similar to my own, and the patch provided and referenced in #4 is already part of 7.x-1.2.

texas-bronius’s picture

Silly me: I was setting variables in staging and testing in localdev. variable_set() does *not* operate outside its realm... :O

To lay it out for anyone else, however:
* Login form uses preset "small"
* Register form uses preset "medium"
* Password recovery uses preset "small"

While the settings for each preset can be of course changed, these form => preset associations cannot be changed in the config, they are set in each form's respective .js included with the module.