Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comments
Comment #1
dqdrodrigoaguilera: please read the project page on the bottom about window size
Comment #2
dqdwtf? wrong status selected ...
Comment #3
nguyentran CreditAttribution: nguyentran commentedHi,
Although there are options for size of window, but it not work. I have changed the class but it not work. Any ideas, thanks.
Comment #4
JordanMagnuson CreditAttribution: JordanMagnuson commentedPlease 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.
Comment #5
texas-bronius CreditAttribution: texas-bronius commentedI 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.
Comment #6
texas-bronius CreditAttribution: texas-bronius commentedOld 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.
Comment #7
texas-bronius CreditAttribution: texas-bronius commentedSilly 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.