Help - Search - Members - Calendar
Full Version: An Output Page
Movable Type Community Forum > Using Movable Type > Templates and Tags
bchacker
I want a page that will have a list of about 5-10 recent entries from the blog. I need it to automatically update with a new post, and have the date displayed next to it. I dont want it to have any style, just plain white but I want the blog to be able to have a style. What is the best way to do this? Is there a tag or a plugin?
maddy
You should be able to create a new Index Template, and include in it just the Movable Type tags to display the information you want about the entries, with no styling.

For example, if you want to just have a list of the last 10 entry titles, linked to their archive pages, you could use the following:
CODE
<ul>
<MTEntries lastn="10">
<li><MTEntryDate format="%x">: <a href="<MTEntryPermalink>"><MTEntryTitle></a></li>
</MTEntries>
</ul>


Name the template 'Recent Entries', or something like that, and give it an Output File of 'recent-entries.html' or similar. Save, and Rebuild the template, and there you go. smile.gif
bchacker
Thanks a lot. I have a site seperate from my work log but wanted it to display the latest info and now I can use iFrames it display the page. I'm very happy now biggrin.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-2010 Invision Power Services, Inc.