This project is read-only.

Sorting and another widget...

Dec 7, 2012 at 2:57 AM

I'm implementing this forum on my site and need following features...

1) Thread sort based on last post date as you see on http://orchard.codeplex.com/discussions/topics/5240/core

2) A category View (might be a widget) with last post snippet as on http://orchard.codeplex.com/discussions ..

Can you suggest me where should I change for 1 and what should be the approach for 2? I also think they would be good features for everybody and I would be happy to make the changes and share them back to the community.

Thanks.

Dec 7, 2012 at 11:30 AM

Hi Tippingpoint,

Very cool, so make sure you take the tip of the mecurial branch default.

1) Thread sort based on last post date as you see on http://orchard.codeplex.com/discussions/topics/5240/core

This is already implemented - I think its the default - Ordered by published date.

2) A category View (might be a widget) with last post snippet as on http://orchard.codeplex.com/discussions ..

You can do this with projections, I have added a category and tags to the Forum and the thread so should be really easy to do.

Nick

Dec 10, 2012 at 10:33 AM

Nick,

I think for point 1, default behavior is order by thread published date and what I'm asking is to order it by "Last Reply Created Date" for that post. Imagine, after 15 threads are started, even if 3rd thread is most active with replies, it does never show up on the top of the list. You should look at the Last Reply Created published or Date to sort the thread itself.

Thanks