0

I created new blog node in Drupal commons and assigned it to two organic groups. While it appears under both groups' Blog tab (view group_tab_blogs), it only appears under one group's Home tab but not the other.

The content belogs to two groups.

On exploring the activity_log_stream view which is essentially the query for this tab, I noticed that it filters on the stream owner and does not search any other table.

screenshot

Would I have to duplicate the row in this table or is there a way to have "multiple stream owners"?

enter image description here

Update: After a bit more digging, I started playing with the rules area. Here I see that this rule fires after the creation of a Node. But, again, how is the 'active group' determined when a node has multiple organic groups assigned to it?

enter image description here

Update 2: On Drupal.org, a bit more asking and digging lead to this bug report http://drupal.org/node/1294794 and even http://drupal.org/node/1256754.

Update 3 The above patch failed.

enter image description here

1 Answer 1

1

I believe the active group is just the group context which is present when content is created (i.e. if you're 'in' group B and post a node into groups A and B, it'll only go into the stream of group B). So it's not great for cross-posting.

You shouldn't use the patch in that issue because it was never finished, it's out of date, and has bugs and bad code that would most likely break your site.

If you plan to keep using Commons 6.x, best to post a feature request in the Activity log queue requesting default rules that would work to create multiple log messages when content is cross-posted across groups. Otherwise, wait for Commons 7.x where it's not planned to use activity log.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.