I have a OpenAtrium site which has the following main content types:

  • Polls
  • Documents
  • Discussions
  • Tasks

The polls have "default comment settings" set to "open" and upon creating a new poll, the user has the "comment settings" radio buttons at the bottom of the page so she can use "open" or "closed". This is normal Drupal behaviour so I have no questions regarding polls comments.

Tasks have "default comment settings" set to "open" but there's no option for disabling comments for specific tasks like in polls which on the other hand makes a lot of sense, so no question about tasks comments either.

Discussions don't work with comments (they're threads of individual discussion posts, correct me if I am wrong) and therefore the "default comment settings" is set to hidden. Fine.

Finally, documents by default have the "default comment settings" set to hidden as well, and I don't understand why. I mean, wouldn't it be a more usual use case when users post a document and the rest of the community can leave comments discussing it? I set the "default comment settings" to "open". And I get the behaviour similar to Tasks comments. I mean, there's no way to enable or disable comments on a case-by-case basis. Besides, I turned the setting to "open" after some documents were already posted and there was no way for the older documents to have a comment form show up in order to add comments. It only worked for documents created afterwards. Tried to edit and save the older documents but it didn't work.

Am I doing something wrong? Aren't OA documents supposed to work this way (get an initial document and text and then accept a thread of comments discussing it)?

Thanks in advance :)
Juan

Comments

socialnicheguru’s picture

I couldn't find comment settings on the section page.
I had to comment out the following:

/**
 * Implements hook_form_FORM_ID_alter().
 */
function oa_core_form_oa_group_node_form_alter(&$form, &$form_state, &$form_id) {
  _oa_core_hide_comment_settings($form);
}
socialnicheguru’s picture

Status: Active » Closed (duplicate)