XF 1.2 Can I add 'Recent Posts' to index route?

DOA

Member
I can add '/find-new/7687437/posts' to my index route to show all new unread posts on the homepage.

But I want to show all recent posts, read or unread.

I guess I can't add '/find-new/posts?recent=1' as it's technically a search query?

Anyway I can work around this to show all recent posts?

(please don't suggest the Widget Framework New Threads add-on as it doesn't work very well)
 
I agree.

I don't get how it works though.

I can use the Widget Framework to add a template, but this doesn't have it's own template which would run the query does it?
 
Yeh but that doesn't display 'read' threads. Users get confused when the ones they've read dissappear
That's how the URL is designed to work so without custom development you're going to have to either:
  • Use find-new/posts and deal with 'read' threads disappearing
  • Use find-new/posts?recent=1 and display recent posts (read or unread)
  • Use recent-activity/ and display the forum's recent activity (shows everything not just posts)
 
Back
Top Bottom