Help - Search - Members - Calendar
Full Version: Link To Older Entries On Index Page
Movable Type Community Forum > Using Movable Type > Entries and Archives
mumblepeg
Hi all,
I'm looking for a way to add a link to older entries at the bottom of the index page after my entries. For example, I'm displaying 5 entries on my index page and the older entries link would take you to the next 5 entries and on the bottom of that page I would have previous entries and older entries links and so on.

I came across the pagination information and am thinking that that is the only way to accomplish this. Is that correct?

I'm using MT 3.2

Thanks so much,
Nancy
shenews
QUOTE (mumblepeg @ Aug 25 2008, 04:33 PM) *
I came across the pagination information and am thinking that that is the only way to accomplish this. Is that correct?


If you're willing to go with "last week's entries" that link to the previous week's entries ad infinitum, rather than to five entries, you can just enable weekly archives and put a link at the end of the entries on your main index page like this:

CODE
<MTEntries>
(code for your 5 entries)

<MTEntriesFooter>
<MTEntryPrevious>
<a href="<$MTEntryLink archive_type="Weekly"$>">Keep going: Page back through previous weeks' entries</a>
</MTEntryPrevious>
</MTEntriesFooter>

</MTEntries>
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-2008 Invision Power Services, Inc.