Help - Search - Members - Calendar
Full Version: Archives on separate page
Movable Type Community Forum > Additional Resources > Tips and Tricks
wondergirlmj
I'm sure there is a simple way to do this that I am just not thinking of but my brain just can't come up with the answer today.

I want to have the list of my archives on a separate page from my blog. Basically I want there to be a link on the main blog to archives.html. Then on archives.html I want there to be a list of all the individual archives for say the past 3 months.

Can anyone please help me out on what to do here. Thanks.
medic119
Go into your MT templates area and CREATE NEW INDEX TEMPLATE named Archives output file archives.html

Then just put the MT tags you want on that page for your archives.
I do pretty much what you are wanting to do on my site.
Sea Doc Archives Page
girlie
The Master Archive Index Template by default outputs to archives.html, so unless you've used it for something else, you can just change the template code.

Limiting the output to only three months:

CODE
<MTArchiveList archive_type="Monthly" lastn="3">
<a href="<$MTArchiveLink$>"><$MTArchiveDate$></a><br>
 <MTEntries>
   <a href="<MTEntryLink archive_type="Individual">"<$MTEntryTitle$></a>
 </MTEntries>
 <br><br>
</MTArchiveList>
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.