This is just a nerd post to remind myself of a solution to a Movable Type problem I was having. Hey, if you use MT, maybe it’ll help you, too.
You know how when you’re editing your blog and you click the “Entries” button and only the 20 most-recent entries are listed by default? Well, as I go through my phase of correctly categorizing my entries, I want all entries listed by default, so I don’t have to keep manually selecting the “all entries” option from the pull-down menu at the bottom of the entries-list screen.
To do this, at least in Movable Type version 3.15, go to your MT directory and download the file named CMS.pm located in the lib/MT/App/ folder. (CMS, by the way, stands for Content Management System.) Fire up your trusty text editor (I swear by BBEdit) and change line 2361 from
my $limit = $q->param('limit') || 20;
to
my $limit = $q->param('limit') || 'none';
If you’re using a different but recent version of Movable Type, you should be able open that same file and do a find for the line
my $limit = $q->param('limit') || 20;
until you come across the one that’s nested in a code-block named “sub list_entries,” then change it to
my $limit = $q->param('limit') || 'none';
Save the file, upload and replace, and relaunch MT. There you have it. Why Movable Type can’t simply make this a preference, I have no idea.