Pagination in Movable Type

Much has been written on the various techniques for using pagination in Movable Type. Jesse Gardner posted an entry on PlasticMind that gives a good explanation of some of the more popular approaches, their benefits and drawbacks.

I tested Chad Everett's Smarty approach on a blog where the category archives were getting out of hand. (And it's still using the 3.5 templates though powered by 4.21, so monthly categories are not used). Chad's example works, but I had to change the publishing for categories to dynamic and wanted to show page numbers and style them to fit with the blog's theme.

Previous | Next

Mark Carey's Pagination Plugin will only work with the index page. You need Pagination Pro to paginate your Category, Author, date-based archives, and Entry archives.

Creative Spirits offers a javascript approach to pagination. It requires 3 plugins to work and will create hidden "pages" that are viewable on request. An interesting tutorial but not for the faint-hearted.

After much searching, I found a plugin called Paged Archives that requires very little template editing and can be used on the main index, category and date-based archives that use static publishing. This plugin is free, and can be styled however you wish.


Styled "out of the box"

Check out the comments on the site to see how the additional styling is added

4 Comments

It's for ages I am searching to find an applicable (free) way to paginate my dynamic pages' comments(some entries have more than 700 comments!) I think Chad Everett's Smarty approach won't be bad but I couldn't implement it after hours of trials and errors. What a pity MT has not a proper pagination system yet.


Toni

Perhaps you should try Pagination Pro. It has a feature for paginating comments.

Or, you might give XComment a go. It's a free plugin that uses jQuery for pagination.

Thanks for the reply. I tried Xomment a few days ago but you know it's very hard to configure in custom templates. I mean I couldn't implement it on my brand new templates after a couple of hours trying. The most important thing about Smarty Pagination is its simplicity. It will be a good idea for a Smarty pro to expand the method and let newbies like me implement it in their custom templates.


I've been through the grinder trying to get "paging" to work and found the Paged Archive the best thing. Thanks for the heads up.


Leave a comment



Recent Entries

  • Send Entries Using HTML Formatted Email

    There used to be a plugin for earlier versions of Movable Type called "MT-Mail-Entry":http://www.nonplus.net/software/mt/MT-Mail-Entry.htm that allowed you to send friends a HTML-formatted email that included...

  • All Comments Not Getting Published

    I had a problem viewing some of the comments on one of my posts. I thought it must be a comment limit somewhere in the...

  • MT 4.23 Update Released

    Movable Type has released a security upgrade that fixes XSS vulnerabilities, and recommends updating to 4.23 as a mandatory. The vulnerability hasn't been exploited yet,...

  • Updated Joost Action Streams Plugin

    The plugin for [Joost Action Streams](http://mt4.juneeonline.com/babble-on/archives/2008/10/joost-action-streams-plugin.php) has been updated to include favourites. If you've previously installed this plugin I recommend deleting Joost from "Other Profiles"...

  • Adding the ShareThis Button to Mid-Century

    There's a tutorial on Rob Kenny's The Composing Stick with instructions for adding AddThis or ShareThis buttons to your posts. After receiving a request today,...

OpenID accepted here Learn more about OpenID