Help - Search - Members - Calendar
Full Version: Group all entries by category page
Movable Type Community Forum > Additional Resources > Tips and Tricks
Michael Aivaliotis
Is it possible to have an index page that lists all the posts by category instead of date?

I guess I can create an index page with a bunch of includes, one for every category archive... but is there a way with pure MT TAGS to acomplish this so it gets rebuilt automaticaly?

Thank You
Michael Aivaliotis
maddy
Assuming you have Category Arhiving enabled, check out something like this, to get you started.
CODE
<MTArchiveList archive_type="Category">
<b> <MTArchiveCategory></b><br>
<MTEntries>
  <MTEntryDate>: <a href="<MTEntryPermalink>" title="<MTEntryExcerpt>"><MTEntryTitle></a><br />
</MTEntries>
<br /><br/>
</MTArchiveList>


That lists the entry title, linked to the archive page, for each entry in each of the categories. If you want to display the full text of some or all of the posts for each category, you'd just need to change the code within the MTEntries tags to reflect what you want to show for each category. smile.gif

Post back if you have more questions, or if I've misunderstood your request! smile.gif
Michael Aivaliotis
Thanks a lot worked great... This is what I was trying to do.

Michael Aivaliotis
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.