Help - Search - Members - Calendar
Full Version: List all entries for given month
Movable Type Community Forum > Additional Resources > Tips and Tricks
vlbrown
I really like the list of "recent entries on my main page. I want someting similar to this on my monthly date-based archive pages too, except that I want the entire list of entries for that month.

I understand how to do the "n most recent" entries; that's in the Master Index template. But how can I do a list of all entries for the current month.

I can see that it would be nice to extend this desire to category-based archives as well.

Is such an index of all titles for the current month possble within the crrent MT implementation Should I copy yhrti request over into the Features forum?
maddy
The Date-Based and Category Archive Pages will automatically display only the entries for that particular time frame/category.

So, you could use something as simple as this to give you a list of entry titles linked to their individual pages (and you can apply the sort_order attribute to control whether the list is ascending or descending) :

CODE
<MTEntries>
<a href="<MTEntryPermalilnk>"><MTEntryTitle></a><br />
</MTEntries>


Used in the context of the appropriate Archive Template, that will have the affect you want - unless I am completely misunderstanding you.

Does that help? smile.gif
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.