Not a developer? Go to MovableType.com

Plugin and Theme Directory

Sort Categories And Folders v1.02

By Hajime Fujimoto
Posted August 27, 2007, in Search.

Details

This plugin enables you to sort categories and folders as you like.

Usage: 1) Download zip file 2) Unzip downloaded file. 3) Upload unzipped folders to directory of Movable Type. 4) Log in to Movable Type. 5) Add 'sort_method="SortCatFld::Sort"' attribute to MTSubCategories / MTTopLevelCategories / MTSubFolders / MTTopLevelFolders tag. 6) Enter 'Manage Categories' page and click 'Sort categories' link. 7) Sort categories with arrow button and click 'Save changes' button. 8) Enter 'Manage Folders' page and click 'Sort folders' link. 9) Sort folders with arrow button and click 'Save changes' button. 10) Rebuild blog.

Compatibility

Movable Type versions: 4.3 Japanese only

Language Note

Sort Categories And Folders or its documentation is not fully localized into English. If you are interested in using Sort Categories And Folders but require additional translation, please let us know by e-mailing webmaster@movabletype.org.


Back

9 Comments

softserve on December 5, 2007, 4:06 p.m. Reply

Note that this DOES work. The issue is the instructions are wrong.

sort_method=”SortCatFld::Sort” is the correct usage. You absolutely need the undersecorel

cc on December 10, 2008, 11:06 a.m. Reply

Running MT 4.21, I’ve got the plugin installed, and have added the sort_method attribute. I can see the sort interface, but there is no “save changes” button as described. I’ve tried making changes to the sort order, then going to the plugin settings and using the “save changes” button there, but still my changes are not preserved. Does anyone have any tips? Thanks!

Jérôme Gamez on December 14, 2008, 6:56 a.m. Reply

Please note that there is a new version of this plugin available at the author’s website (Version 1.02). You can download it here.

cc on December 15, 2008, 10:27 a.m. Reply

Thanks Jerome! Version 1.02 works exactly as it should!

Jérôme Gamez on January 20, 2009, 6:27 p.m. Reply

Here is a template module that enables you to sort entry categories as well: http://pastie.org/366310.

I’d liked to implement it into the plugin itself, but as my Perl skills are… let’s say: limited… :)

tb2 on July 20, 2010, 5:43 a.m. Reply

That does NOT work for me. I use Version 1.02 and I just would like to sort folders. I don’t need to sort categories. But in Manage Folders is just a link “Sort Categories” and no link “Sort Folders”.

What did I wrong? Has anybody some experiences with that?

Michael J. DeLuca on November 3, 2010, 4:52 p.m. Reply

I don’t think this plugin works with MT 5 pro. I followed the directions, downloaded version 1.02, fixed the typo in the instructions. It works to sort the categories in the admin pages, but not on the public-facing site. My template tag looks like this:

And I get this error:

Error in <mtSubCategories> tag: Error sorting categories: Can’t call method "order_number" on an undefined value

Which is really too bad. If anyone knows how to get this to work in MT5, please let me know.

Karina on December 9, 2010, 3:11 a.m. Reply

I tried version 1.11 in MT 5.02 and it worked.

(The second link under “SortCatFld” is the download.)

chendler

chendler on April 11, 2017, 12:31 p.m. Reply

this is really nice to read..informative post is very good to read..thanks a lot. liuhey.com

Leave a Comment