Help - Search - Members - Calendar
Full Version: Category archive listing
Movable Type Community Forum > Additional Resources > Tips and Tricks
Benoit
Here's how things work with my category archives at the moment:

From the index page, there's a menu on the left side linking to categories.

When clicking on a category, you end up on the category archive, with all the posts in the selected category.

What I would like to have instead of that is a listing of all the titles of the posts in that selected category, as well as an excerpt (20 words or so, like in the notification).

From that page, a visitor interested in seeing the entire entry would click on a title which would take him to the individual archive.

Any suggestion on how to do this? I've checked this forum and haven't seen anything that seems to address this specific use of archives.
kadyellebee
Yes, this is how I do it on several of my blogs. You'll need to modify the Category Archive template. Use MTEntry* tags to get the combination of elements you want for each entry.

So for the titles, links, and excerpts, you'd do something like this:
CODE
<MTEntries>
<a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a> : <$MTEntryExcerpt$><br />
</MTEntries>


You probably need to add more formatting tags in there, but that should get you started.

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.