Help - Search - Members - Calendar
Full Version: 2003 Entry Listing
Movable Type Community Forum > Additional Resources > Tips and Tricks
sumaira
How do I create a listing of every entry for a year in order of posting date?
Lummox JR
For that you'll need ArchiveYear and ArchiveLoad. If you want an ascending order, it'd look like this:
CODE
<MTArchiveYear order="ascend">
 <MTArchiveYearIfEntries><MTArchiveLoad>
   <h3><$MTArchiveDate format="%B"$></h3>
   <MTEntries sort_order="ascend">
     <a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a><br />
   </MTEntries>
 </MTArchiveLoad></MTArchiveYearIfEntries>
</MTArchiveYear>

ArchiveLoad is needed to fill in the entries for each month context.

Lummox JR
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-2010 Invision Power Services, Inc.