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 creating a panel that displays node comments elsewhere, the ctools_comment_render()
function ignores the node's comment display setting (specifically, if comments exist and comments are set to disabled, they will be rendered anyway). The attached patch checks that $node->comment
is true.
Comment | File | Size | Author |
---|---|---|---|
ctools.comment_display.patch | 553 bytes | jhedstrom |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedGood catch. Marking for port to 7.x
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedAll of the 'to be ported' patches got merged in during the porting sprint in September.