After read #3508032: sobki_profile_bootstrap 10.1.0-alpha2 I think is possible that views render the list of comments respecting the treads.
Here is an initial patch ready for testing.
| Comment | File | Size | Author |
|---|---|---|---|
| views-comment-thread.patch | 2.61 KB | dagmar |
Comments
Comment #1
dagmarWrong issue #508032: How to display an indented threaded list of comments instead of flat list
Comment #2
merlinofchaos commentedThe $Id$ tags can go.
The template is all PHP. Can we make that more template like? Can we shift some of the work to the preprocess, somehow?
Comment #3
tim.plunkettAgreed that there is way too much logic in the template, but not sure how to move it into preprocess in a Views-esque way.
Comment #4
beumont commentedPlease help with the patch. when i try to apply it with: patch comment.views.inc views-comment-thread.patch
I get the following message:
2 out of 2 hunks ignored -- saving rejects to file comment.views.inc.rej
The next patch would create the file comment.views.inc,
which already exists! Assume -R? [n]
How to apply this correctly?
Comment #5
dawehnerYou have to apply this patch with patch -p0, perhaps you missed it.
Comment #6
mxmilkiib commentedsubscribe
Comment #7
pyxio commentedHas there been any progress on this since the comment in 2011? I need to created threaded comments in views and am curious what is the best method of achieving this today. Cheers, Kevin
Comment #8
atobis commentedsubscribe
Comment #9
luksakLets move it to 7.x... Or is this working in 7.x?
Comment #10
pyxio commentedhi,
not solved yet.
Comment #11
Eleine commentedIt is fixed long time ago. In your view, add a new sort criterion and select Comment -> Thread.
Comment #12
Eleine commented