Re-sort Courses

General plugins (Local) ::: local_resort_courses
Maintained by Logo "Moodle an Hochschulen e.V."Moodle an Hochschulen e.V., Alexander Bias
Moodle plugin which sorts a category page automatically as soon as a course has been added or modified
Latest release:
486 sites
32 fans
Current versions available: 22

Moodle core does not take care that Moodle course categories are sorted automatically. There is a sort button on every category page, but this button has to be pushed manually.

This approach makes sense if the course manager really needs to be in control of the sort order, but most of the time pressing the sort button manually after adding or updating a course is a daunting task.

If you want to get rid of this senseless job of pushing the sort button manually, this plugin is for you.

Please see README file for details about the usage and features of this plugin.

No support in the comments section on this page

Please note that we don't provide any support for this plugin in the comments section on this page.

We appreciate your commendation and reviews for this plugin in the comments. For bug reports and support requests, please read the extensive information in the plugin's README file first and create, if needed, a ticket in the bug tracker which is linked below.

Thanks for your cooperation.


Screenshot #0


Logo "Moodle an Hochschulen e.V."
Moodle an Hochschulen e.V. (Lead maintainer): Maintainer
Alexander Bias: Maintainer
Ulm University: Initial Maintainer
Kathrin Osswald: Former Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Anthony Borrow
    Sun, Jul 29, 2012, 12:41 PM
    The plugin does not work unless two variables are declared in config.php and these were not mentioned in the install section of the README document but were mentioned later. Technically, requiring the modification of the config.php makes this a patch which we are trying to avoid. I have encouraged Alexander to go ahead and add a settings page for those variable and to make sure to initialize them to avoid them being undefined. I've asked him to create the settings page prior to approval which will ensure that this plugin is in fact a plugin rather than a patch. Peace - Anthony
  • Anthony Borrow
    Sun, Jul 29, 2012, 12:42 PM
    In addition, a documentation url and a screenshot (perhaps a before and after) would be helpful.
  • Alexander Bias
    Tue, Jan 22, 2013, 4:30 PM
    Anthony, I've migrated the plugin settings from config.php to a settings page within Moodle and have more documentation and a screenshot.
  • MD shot of me from his iphone4
    Wed, Mar 20, 2013, 11:59 AM
    Thanks Alexander. This installed fine for me and i'm glad that no patching is needed now smile

    I'm a little confused with the use of the term 'resort' here, you many want to consider a title change to "Resort Courses"

    Also do consider adding a readme.txt file (which can be a copy of
  • Alexander Bias
    Wed, Mar 20, 2013, 7:30 PM
    Dear Aparup,

    regarding the plugin name: I think you did the same typo in your comment like me when I named the plugin. Did you mean to propose naming the plugin "Re-Sort Courses" instead of "Resort courses"? I think that should be possible.

    regarding the readme.txt: There is an option "Rename readme.* to readme.txt" when uploading a new plugin zip package. I always check this option, but never gets renamed. I already told Anthony about this problem. Perhaps you could have a look at this or create a tracker issue? As soon as this upload option works, there will be a readme.txt smile

Please login to post comments