Help - Search - Members - Calendar
Full Version: categories list - can you filter/sort?
Movable Type Community Forum > Additional Resources > Tips and Tricks
btrott
What is it showing? The main blog entries? Are they not in a category?
btrott
Then you don't want to use <MTCategories> because that lists all of the categories. Just do this:

CODE
<MTEntries category="Reading">
 <$MTEntryTitle$><br>
 </MTEntries>
<MTEntries category="Writing">
 <$MTEntryTitle$><br>
 </MTEntries>
Pea
I'm setting up a new blog which is relying heavily on categories.  

So far I have the main blog in the middle and the categories listed on the side using this code -

CODE
<MTCategories>
 <a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a><br>
 <MTEntries>
 <$MTEntryTitle$><br>
 </MTEntries>
 <br /><br />
</MTCategories>


It's working great except it's listing the main blog entries and I don't want it to, is there anyway of filtering them out?
Pea
What I want is a list of each category, ie reading, listening etc and under each category title a list of the entries for that category.

It is doing that fine, but I don't want every single category listed, just the reading, listening to ones.

Is there any simple way round this?
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.