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 made a custom module where i pull the whole comments into a block:
like:
//load form+all comments
$block['content'] = comment_node_page_additions($node);
result: http://screensnapr.com/v/VJjNBy.png
when i go to the forums where i do not use a block: http://screensnapr.com/v/NOoUrp.png
as you can see the position of the comment notify elements are different.
the element once was at the bottom, is there any mening in moving it up?
comment_modify.moule line 111, controls the weight. if you for example set it to 19, the elements will be back at the bottom.
// If you want to hide this on your site see http://drupal.org/node/322482
$form['notify_settings'] = array(
'#weight' => 0,
);
Comment | File | Size | Author |
---|---|---|---|
#2 | 1252394_move_notification_box_to_bottom.patch | 722 bytes | greggles |
Comments
Comment #1
gregglesMakes sense to me.
Comment #2
gregglesSomething like this.
I'm leaving here for comments, but expect to commit it.
This is consistent with the other place we set the weight to 19.
Comment #3
gregglesNow committed http://drupalcode.org/project/comment_notify.git/commit/2959a47