MainDoctor WhoMusicSoftware
Main Page

Alden Bates' Weblog

Feigning normality since 1973

Paged Archives v1.23

Filed in: Movable Type.

My original intention was to completely rewrite the PagedArchives plugin, test it over the course of the next week or so, and release it next weekend. However, having done 95% of the rewrite yesterday, I discovered that when I rebuilt all the category files, MT would only run P.A. on the last file built. Since it uses the same callback as version 1 which works fine, I can't fathom at all why that would be.

So instead I'm releasing a revised version of version 1 with some of the more pending issues raised in the comments on the P.A. v1.2 entry. The main issue which should now be fixed is the construction of navigation URLs (rather than the crappy method I was using to construct them before, I'm now using either the URL MT gives me, or constructing one using the same method used by MT).

Not fixed in this version (but hopefully should be in version 2) is the problem zero had of running out of memory.

You can get version 1.23 on the PagedArchives plugin page. If you're using this plugin, please report bugs in the comments here.

Posted February 25, 2007 4:57 PM


I just installed the new version of your plugin and it works like a charm! The links on all of the pages are now correct and I do not see any other "bugs" or errors of any sort. I'll be sure to keep a look out to see if I notice anything.

Thanks for the support!


Posted by: LoLo | February 26, 2007 3:37 AM


Posted by: Alden Bates | February 26, 2007 8:33 AM

Hi there! This plugin works great (am running it on MT Enterprise Version 1.52). Thanks so much for your efforts!

(One possible request would be to add the ability to specify other href properties to the nav links... such as title="blahblah" or onClick="blahblah") =)

Posted by: Verbal | March 1, 2007 9:49 AM

I'd like to display Google adsense ad on each archive page, but always after the first 4 posts.

I tried the method outlined here:
but can't get it to work when I'm using the Paged Archives plugin.

Any ideas? Thanks very much.

Posted by: Verbal | March 10, 2007 11:13 AM

Verbal: It's not currently possible with PagedArchives, but it's something that I'm looking at adding in a later version.

Posted by: Alden Bates | March 10, 2007 12:55 PM

Nice little plugin. Unfortunately, I'm having trouble.

I'm using it to paginate my main index, and it appears to be doing it correctly. However, it doesn't appear to be spitting out the correct links. When it links to the new pages it links to "index.php2.php", "index.php3.php", etc. It's as if "index.php" is somehow in there by default.

The pages are being created properly, it's just the link creation that isn't working. This seems like it should be a setting somewhere, but I can't figure out where.

Any ideas?

Posted by: Kevin | March 17, 2007 6:14 PM

Kevin: Someone else was having that problem here, but I'm not sure what's causing it. I thought it might have been the IndexBasename setting, but when I tried to set it on my test MT installation, it threw a fit.

I think it could have something to do with having a custom "Archive File Path" set in the "publishing" settings page, but I haven't had the time to investigate it yet...

Posted by: Alden Bates | March 17, 2007 6:36 PM

Hey Alden,

That's curious. I do have some custom Archive File Path names set in the publishing settings page, but since I'm only trying to paginate the main index I wouldn't think that would have anything to do with it.

I also don't see any IndexBasename settings--is that in the mt-config.cgi file?


Posted by: Kevin | March 18, 2007 4:55 AM

Yes, that's in the config file rather than in the settings. Good point about the archive paths, I'll keep looking. :)

Posted by: Alden Bates | March 18, 2007 9:54 AM

Thanks to Kevin's help via email, I've given him a version which fixes the problem. I may include it in the next release, though I'd like to determine first exactly why it happens, and in defiance of the regular expression I have to clean up the base URL...

In the meantime, if anyone else is experiencing the same problem, please contact me either in the comments or via the site feedback form. :)

Posted by: Alden Bates | March 20, 2007 11:00 AM

Hi -
We really like this plugin, but are having trouble getting 15 entries on our home page. It's displaying 10 instead.

We're using MT 3.34, and the plugin settings for both the system and the individual blog are set to list 15 items. The blog settings are set up for 90 entries to display on the home page. We're also using RebuildQueue.

Any ideas what might be preventing us from getting 15 posts per page instead of 10?


Posted by: terrie | March 21, 2007 8:46 AM

Hi Alden,
It is really a nice plugin. I think it'll be perfect if you add an argument to . This argument can control the length of the list displayed in every page. Because the list will be very long if I have lots of articles.

Posted by: Sky | March 22, 2007 10:45 PM

That's a good idea. :)

Posted by: Alden Bates | March 22, 2007 11:00 PM

Thank you for good plugin, but I still have little trouble to make it work in my MT 3.34. It reduce my entries as request number and all tags fine but didn't produce extra pages. Does this because it not work with MTEntriesWithSubCategories or any other problem you could remember?

Posted by: Seiken | March 24, 2007 6:49 PM

Hmm, if the tags are all working but the extra pages aren't being generated, it could be a problem with the permissions. Do you have HTMLPerms set in your mt.cfg?

Posted by: Alden Bates | March 24, 2007 7:50 PM

No I don't have HTMLPerms in my cfg, and I think the problem is with MTEntriesWithSubCategories after more test. The problem only happens when I using MTEntriesWithSubCategories( in a category archive, to display entries in another subcategory). It's hard to test more.

Posted by: Seiken | March 24, 2007 10:32 PM

OK, I'll see if I can get hold of that plugin(?) and do some testing to see if I can see what the problem is. :)

Posted by: Alden Bates | March 25, 2007 11:30 AM

Post a comment Site Map