Postponed (maintainer needs more info)
Project:
Sort Comments
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2011 at 08:29 UTC
Updated:
9 Aug 2011 at 01:15 UTC
Comments
Comment #1
maurizio.ganovelliHi rogical,
i think that flag module integration could be useful to order comments by "most flagged" (ascending or descending).
Instead, can you explain me how to use the data stored by this module (order of comments by content type) with views? Can really be useful?
Thanks,
Regards.
Comment #2
rogical commentedI use panels to provide or overwrite all the pages, and put views block on them.
This provides unlimited combination and imagination, and this is essensial for a Web 2.0 site.
So, I retrieve mostly all the data via views and arranged complexly on panels via various logic.
For sort comments, usually would be useful on sorting by 'most flagged(liked, useful etc.)', you have also noticed.
For views integration, let's say if no views integration, it's hard to do complex display which usually means views + panels. As this combination (views + panels) is a killer application in drupal.
BTW, comments in D7 becomes more and more important and useful, becaues it's fieldable! So, in some occasion, we may add severan fields and sort by each.
Comment #3
davidwhthomas commentedI believe this requires a patch to ctools to add the tag and metadata to the comment query, required by sort_comments.
See this issue: http://drupal.org/node/1243384
or this patch: http://drupal.org/files/issues/node_comments.inc_.update-comment-query-t...
Works for me.
Alternatively, sort_comments to check for the orderby code added by ctools in a generic hook_query_alter but the above patch would be preferable.
If it works for you too, please update the linked issue queue indicating as such.
DT