Weekly format reversed

Course formats ::: format_weeksrev
Maintained by Arnaud Trouvé
Weekly format listed in reverse format so first week at bottom and current week at the top
Latest release:
211 sites
17 fans
Moodle 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11


This is a clone of the Moodle weekly course format except the weeks are listed in reverse order.


  • Settings from standard weekly format
  • Hide future weeks (yes/no - default: yes): allow to hide all future weeks from the student view so that the current week is shown at the top of the list. When enable it will completely override the course setting "Hidden sections" for future weeks. As a teacher you can see future weeks and should leave them unhidden so that they do become visible when that week arrives.


Install the plugin, like any other plugin.
See http://docs.moodle.org/en/Installing_plugins for details on installing Moodle plugins.


Screenshot #0
Screenshot #1


Arnaud Trouvé (Lead maintainer)
Mat Cannings: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Dec 18, 2013, 7:40 AM
    I am receiving this error: "Function print_section() is deprecated. Please use course renderer function course_section_cm_list() instead." Is that something that can be ignored?
  • Fri, Mar 14, 2014, 7:09 PM
    Hi I have the same problem that Robert Girardin but I'm using Moodle 2.5.2, and I have another problem. If I selected 4 in Number of sections only show me 3 what happens? thanks in advance!
  • Fri, Apr 4, 2014, 4:14 PM
    my versin is 2.5.2. I installed the plugin but still when I add new weeks, they comes at the buttom.. ??
  • Wed, May 14, 2014, 7:09 PM
    Hi Mat,

    I noticed what looks to me as a bug - the current week is not showing up if it's the last week of the course (and is not showing up in the hidden section either).

    If I add an extra week to the course, the current week shows up. This appears to be the case for both admin and student.

    Moodle version is 2.5.5, course format version used is: 2013051100

    Any clues why this is happening?

  • Thu, Jun 11, 2015, 4:44 PM

    I want to form my lesson when the user participates in the course of the period such as a day for him to be displayed.

  • Tue, Jul 5, 2016, 11:14 PM
    working in moodle 3.1?
  • Sat, Nov 12, 2016, 12:36 AM
    Hi. I have updated to version 3.1. How can I put the new version in this repository?
  • Sat, Nov 12, 2016, 1:56 AM

    Hi Silvia. You would need to become a new maintainer of the plugin. As there is no maintainer of this plugin currently, it would be great if you could start looking after it. Sure both the code and this plugin record here needs some love. Please let me know.

  • Tue, Dec 13, 2016, 4:31 AM
    Is there a 3.1 update? I would love to use this plugin! Or did someone make a similar plugin for 3.x moodle perhaps?
  • Tue, Apr 3, 2018, 6:53 PM

    I am happy to announce that Arnaud Trouvé has kindly adopted this plugin and will hopefully release updates for it soon! Many thanks Arnaud.

  • Sat, Apr 7, 2018, 8:34 PM
    Thanks David. New version released smile
    It add Moodle versions 3.3 and higher support and put the "hide future weeks" behaviour as a configurable course setting.
  • Fri, Dec 20, 2019, 4:16 PM
    As reported by Leonardo Freitas da Silva Pereira (Thanks again !!) I forgot to update version number in 3.2.0 release.
    I just release a new "3.2.0" with an updated version number.
  • Fri, Jan 3, 2020, 7:52 PM
    Great Post and great knowledge. Thanks for sharing informative information.
  • Mon, Nov 16, 2020, 9:51 PM
    This plugin has been very useful. It seems, though, that it assumes 7 days for a week. I had a teacher set the start date of her course to a Monday. The weekly headers formatted correctly, however the reverse course layout thought the previous week was current. I had to set the start date of the course one day earlier to a Sunday in order for the actual current week to be highlighted as current. Any thoughts?
  • Fri, Nov 20, 2020, 9:22 PM
    Hi Bryce, Thanks for your feedback. Indeed it is "just" format_topics but reversed so it is 7 days weeks.
    I'll try to reproduce your bug as soon as I'll have free time. In the meantime if you have more informations (or a fix) do not hesitate to fill an issue (or a pull request) on the bug tracker.
1 2 3
Please login to post comments