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.
When you click on the preview button, the page returns the comment preview, the comment form and then the node body.
When comment_notify module is installed, the Save and Preview buttons do not appear with the comment form, but instead they appear below the node body. This makes it seem like there aren't any submit buttons for the form, unless you scroll all the way down and happen to notice them below the node contents.
Comment | File | Size | Author |
---|---|---|---|
#1 | save-preview-buttons-1211596-1.patch | 3.37 KB | JohnAlbin |
Comments
Comment #1
JohnAlbinHere's a patch.
It updates the CSS since most of the rules weren't applying to the D7 version of the markup. And it slightly simplifies the $form['notify_settings'] array.
The basic fix for this issue is adding
$form['actions']['#weight'] = 19;
Comment #2
gregglesThanks for the various bits of cleanup, John!
Now committed - http://drupalcode.org/project/comment_notify.git/commit/6a2a280