Since the ctools_node_comment_wrapper_content_type_edit_form doesn't provide the 'anon_links' configure option, so the 'Log in or register to post comments' message missing for the the anonymous.

Patch is for this issue.

Comments

augustyip created an issue. See original summary.

augustyip’s picture

Title: Fix node_comment_wrapper » Fixed the ctools_node_comment_wrapper_content_type_render function.
chris matthews’s picture

Assigned: augustyip » Unassigned
Status: Needs review » Needs work
Issue tags: +Needs reroll

The 3 year old patch to node_comment_wrapper.inc does not apply to the latest ctools 7.x-1.x-dev and (if applicable) needs to be rerolled.

Checking patch plugins/content_types/node_context/node_comment_wrapper.inc...
error: while searching for:
      );
      $renderable['comment_form'] = drupal_build_form('comment_node_' . $node->type . '_form', $form_state);
    }
    else if (!empty($conf['anon_links'])) {
      $renderable['comment_form'] = theme('comment_post_forbidden', array('node' => $node));
    }
  }

error: patch failed: plugins/content_types/node_context/node_comment_wrapper.inc:65
error: plugins/content_types/node_context/node_comment_wrapper.inc: patch does not apply
japerry’s picture

Status: Needs work » Closed (outdated)

Drupal 7 is no longer supported, closing.

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.