Slashcode Log In
Finding the most recent post in a section?
posted by Krow on 07:59 AM May 30th, 2002
I've been trying to use the concept of Sections as my Slash site grows and users recommend new areas whose posts may not always be "front-page" material. I want to make sure these sections are easily noticed by new readers, so I've modified my header template to create a side-bar like the one on Slashdot, listing the sections and the date of the most recent story item. What I cannot figure out, short of editing the template by hand every time I post a new story, is how to quickly grab the date of the most recent story for each section for inclusion in this bar. Has anyone a neat trick to accomplish this?