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.

CommentFileSizeAuthor
views-comment-thread.patch2.61 KBdagmar

Comments

dagmar’s picture

merlinofchaos’s picture

Status: Needs review » Needs work

The $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?

tim.plunkett’s picture

Agreed that there is way too much logic in the template, but not sure how to move it into preprocess in a Views-esque way.

beumont’s picture

Please 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?

dawehner’s picture

You have to apply this patch with patch -p0, perhaps you missed it.

mxmilkiib’s picture

subscribe

pyxio’s picture

Has 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

atobis’s picture

subscribe

luksak’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev

Lets move it to 7.x... Or is this working in 7.x?

pyxio’s picture

hi,

not solved yet.

Eleine’s picture

It is fixed long time ago. In your view, add a new sort criterion and select Comment -> Thread.

Eleine’s picture

Issue summary: View changes
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.