Help - Search - Members - Calendar
Full Version: archive display driving me nuts
Movable Type Community Forum > Additional Resources > Tips and Tricks
macinchik
Hi.  What I want my archive access to look like (on the index page):

...
feb 2003
jan 2003
all of 2002 at a glance
all entries

I have created a 2002 page which manually draws little calendars for each month.  what i would love would be a way for the system to keep adding 2003 months to the list, but to ignore 2002 months.  is this possible without hacking the code?

Thanks,
Jenn (Ms. Moofus Macinchik)
http://www.kdpublish.com
kadyellebee
Well, you could use
CODE
<MTArchiveList archive_type="Monthly" lastn="2">

and then just change the lastn value every month. Not the neatest solution, but it would work.

Another thought I had was the Collapsing Archive List tutorial.  I'm not sure if you want it to collapse or not, but this PHP could be modified to show the number of months equal to the current month (if 02 == show 2 months; if 03 == show 3 months; etc.)

Kristine
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.