Help - Search - Members - Calendar
Full Version: question
Movable Type Community Forum > Additional Resources > Tips and Tricks
jjacko
WHat is the MT code for listing all posts made, both title and content?
maddy
Very basically:

CODE
<MTEntries>
<MTEntryTitle>
<MTEntryBody><br/>
</MTEntries>


How many entries will be displayed (in your Main Index Template) will depend on the number of days you have set to display in Weblog Config | Preferences. If you want to be sure to display all of the entries, you could add in lastn="x" to the MTEntries tag, where x is a number greater than the number of posts you have.
maddy
It really depends how you want to format it. You could also use something like this:

CODE
<MTArchiveList>
<MTEntries>
<MTEntryTitle>
<MTEntryBody><br />
</MTEntries>
</MTArchiveList>


That would give you more options if you wanted to group by category or month or anything like that. You can find more information about that in the manual. 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.