In my continued journey to create a simple threaded message board that is not styled like phpbb and does not use comments, I have found that relation does exactly what I want, which is marvelous. I have everything set up the way I want it, but now I'm running into an issue: I can't get Views to display the data the way I want it to.
I have a relation, "Is Child of" . Posts made in response to the forum page are automatically assigned the "is child of" relation to the forum. Posts made in response to other posts are automatically assigned the "is child of" relation to the post they responded to. I have already done all the research to make it so duplicates don't appear when using Views, so that at least is no longer a problem.
However...I can't get views to sort the data properly.
What I want is something like this:
Post 1
- Reply 1
- - Reply to Reply 1
- Reply 2
Post 2
- Reply 1 to Post 2
Post 3
You get the idea- basic conversation threading, like comments have.
Instead what I get is chronological sorting, like this:
Post 1
Post 2
Post 3
Reply 1
Reply to Reply 1
Reply 1 to Post 2
I feel like I need to sort the data with a combination of "creation date" and at least one relation option, but none of the combinations I have tried have worked. Does anyone have any suggestions? Is there something else I should be looking at?
Comments
bumpa
bumpa
_
I'm not sure this kind of threaded display is possible with views out of the box, however, if it is its probably been implemented in the nodecomment module so seeing how it's done there might help you figure it out.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Node Comment is only
Node Comment is only available for D6 so I'm not sure how much help it would be in D7, but I'll take a look.
_
true, but taking a look at the views provided should be indicative of how to create a similar view in views for d7 (though the ui is different, creating views is pretty much unchanged).
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.