Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Script to show all the articles except

the 10 latest.

Hi,
on my site, I show the 10 last published articles, with headlines and descriptions.

I would like to show, below this, all the rest of the articles (all the articles, except the 10 last published articles).

What would be the code/script to do this ?
Something with foreach for sure, but I can't find the correcte syntax...
Thanks for your help!

Steph
Friday, January 16, 2004

This is a question that has come up from time to time in the past.  CityDesk Script will let you specify the first x articles, but not all but the first x articles.  So, the short answer is that it can't be done.

But... if you don't mind switching to a date based approach, you can display all the articles published this month, and link to all published before this month.  Or last 10 days, before last 10 days, etc. 

While not an answer to your question, maybe this will work for you

joel goldstick
Friday, January 16, 2004

*  Recent Topics

*  Fog Creek Home