At the moment the weight of the $form['read_only'] is 0. This makes the fieldset of the module on the maintenance appear between the checkbox "Put site into maintenance mode" and the text field of the message for the maintenance mode.
My suggestion is to change this value so that the fieldset appears at the beginning or at the end of the form.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2956345_readonlymode_form_weight.patch | 489 bytes | astonvictor |
Comments
Comment #2
astonvictor commentedChanged weight to
-100.Comment #3
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.