tips and tricks for movable type

change number of entries shown in Edit Entries
January 12, 2003

When you click on List & Edit Entries in MT, the default is to display the last 20 entries. If you'd like to change that behavior, you can hack the list_entries function in lib/MT/App/CMS.pm. Look for this line of code (in v2.51, it's line 1342):

my $limit = $q->param('limit') || 20;

and change 20 to the number you prefer.

Comments

For those who might want to deploy this hack on MT3.12, the line of code is on line 2357.

by elise [TypeKey Profile Page] | 10.28.04 09:15 PM

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

TrackBack: 3
(URL: http://www.thegirliematters.com/sf/mt-track.cgi/129)

» Geeky part 238
Excerpt: For my MT pals:: The Girlie Matters is an incredible source for MT tips and tricks. If you haven't visited her site yet, you really should. My latest finds:Login Form on Main Page:: handy for blogs with multiple authors.Change Number of Entries:: good ...
Weblog: As deep as a puddle after a hard rain
Tracked: 01.15.03 11:50 PM

» Bloggie Scripty Reverb
Excerpt: I like to keep an up-to-date listing of all the...
Weblog: Bloggie Broad
Tracked: 12.16.03 06:08 PM

» Bloggie Scripty Reverb
Excerpt: BB's Script, Plugin and Hack Archive as of 3/1/04: Collapse...
Weblog: Bloggie Broad
Tracked: 03.01.04 05:42 PM