Help - Search - Members - Calendar
Full Version: Display Next Two Weeks
Movable Type Community Forum > Additional Resources > Tips and Tricks
AMK4
Stumbling block (or mental block, whichever applies best): I maintain an MT as sort of a calendar of events, with each event listed as an individual entry, so that later we can come back and add to that event, photos, comments, etc., etc.

However, I'm trying to figure out how do I display the events for the next two weeks on the main index. Right now, it's displaying the entries from July 22nd, till September 21st (a total of five entries between now and then.) I don't want a certain number of entries displayed, I want a certain number of days displayed, starting with today (which currently would only display 2 upcoming events, one on the 29th, and the other on the 31st. It should not display the September one till two weeks before that event is due.)

Also, is there a way to make this update dynamically (PHP?), as opposed to me having to rebuild the main index every time to update whatever's listed. Or should I use mt-rebuild to do that?
AMK4
Bumping because I don't have a solution yet. Anyone? Anyone? Bueller?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.