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.

CommentFileSizeAuthor
#2 2956345_readonlymode_form_weight.patch489 bytesastonvictor

Comments

smitty created an issue. See original summary.

astonvictor’s picture

Status: Active » Needs review
StatusFileSize
new489 bytes

Changed weight to -100.

astonvictor’s picture

Status: Needs review » Closed (outdated)

D7 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.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.