First, I'd like to say merry christmas to those who celebrate, and a general happy holiday season to all!
I've been making very heavy edits to the templates on my forum and all has been going well, but I hit a snag. I'm trying to make my thread lists look similar to a facebook timeline post, so each thread link has the thread subject followed by the first post message. I see the variable to add the message of the LAST POST in there as well, but are the first and last post messages the only ones available to display on a thread list?
Ideally I would like to list the most recent 2-4 replies under the first post message, like the comments section of a facebook post. Am I just not seeing the available variable for that?
Here's a screenshot of my current template for some clarity
Post by Brian Ordonez on Jan 14, 2021 13:04:14 GMT -8
Template data is loaded based on necessity. For example, the first and last post data are fetched alongside the thread object because we display the authors of the first and last posts in the default thread list layout.
Posts are always shown chronologically and limited to whichever page of the thread you're currently viewing. When you visit the link to a certain page of the thread the server sees that and determines that the thread object being used in the layout template should load only that page's posts. On a forum that limits each page to 15 posts you'll only see posts 1-15 on page 1, 16-30 on page 2, etc. For that reason it's not possible to pick and choose which posts appear.