Grid Format

Course formats ::: format_grid
Maintained by Gareth J BarnardGareth J Barnard
A modular and visual course format. Hides all topics and creates a grid of icons (one for each topic) with short titles. Clicking on an icon brings up the content from the corresponding topic.
Latest release:
6984 sites
182 fans
Current versions available: 25

A modular and visual course format. Hides all topics and creates a grid of icons (one for each topic) with short titles. Clicking on an icon brings up the content from the corresponding topic in a "lightbox" style display.


The format comes with NO support.  Please see the 'Support' section in '' file that comes with the format.  This is because the format is complex and I regret that I don't have the time / resources to freely assist with questions pertaining to specific enhancements / changes / knowledge improvement.

I will investigate genuine bugs and issue fixes in a timescale set by myself.  When reporting issues you MUST clearly state the full version and release of both Moodle and the Grid format format as contained within their 'version.php' files - if not it takes me longer to figure out, often resulting in me asking for the details anyway and slowing the process of solving your problem down.  It really helps to upload and describe in detail the issue you are having on the 'Course formats' forum.

Screen cast:

More to follow as new icons have been added....

Privacy API support starts with V3.3.0.5 for M3.3 and V3.4.0.4 for M3.4 where the API has been implemented in the minor release of Moodle.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3


Gareth J Barnard
Gareth J Barnard (Lead maintainer): Maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Gareth J Barnard
    Tue, May 16, 2023, 2:11 AM
    Dear Fernando,

    The M4.0 version is a re-write from scratch. I'm now extending the Bootstrap Modal JS and using data attributes as the trigger, such as " data-toggle="modal" data-target="#gridPopup" data-section="3" ".

    I hope that helps,

  • Marius Larose
    Wed, Aug 23, 2023, 12:03 AM
    Hello Gareth,

    Our users have had the grid format for a while and it seems the option to hide the sections' titles within the grid is now missing (Version 401.2.0 2022112605). This change seems to have happened with Moodle 4.0 versions of the plugin. Versions prior to 4.0 still have this options (e.g. 2021102703). Are there plans to bring this option back?

    Thank you,

  • Gareth J Barnard
    Wed, Aug 23, 2023, 12:19 AM
    Dear Marius,

    The M4.0 version+ is a re-write from scratch as I was finding it increasingly difficult to maintain the code as time progressed with underlying API changes. I also did not know what and what was not being used / liked. Therefore I made the decision to only add functionality that was requested and funded. As such, there are no plans, rather that I'll consider adding it back if my time is funded to do so. As this is bespoke software, I do need to be convinced that an offer of funding is genuine before I go to the effort of estimating how much time and therefore cost is required, a quote.

    Kind regards,

  • Ben Haensel
    Fri, Aug 25, 2023, 5:10 AM
    We are seeing that when restored backups from courses that use the Grid course format that the pictures used for the sections are not restoring. Can the restore process be corrected so it includes unit/section pictures? Thank you! -Ben
  • Gareth J Barnard
    Fri, Aug 25, 2023, 5:50 AM
  • Adrian Francisco Lozada Reboceño
    Fri, Aug 25, 2023, 10:04 PM
    hello Gareth J Barnard, you can guide me, I want to add a second image to the course format, this in order to have the background image and the second superimposed on that background
  • Gareth J Barnard
    Fri, Aug 25, 2023, 11:17 PM
    Dear Adrian,

    That is a substantial ask and would take me quite a bit of time to help you to do so. I'm self employed, and therefore I would want to be remunerated for my time to do so. If this is acceptable then please drop me a PM and we can take things from there.

  • Adrian Francisco Lozada Reboceño
    Fri, Aug 25, 2023, 11:26 PM
    Of course, we talked
  • Gareth J Barnard
    Sat, Aug 26, 2023, 6:54 PM
    Dear Adrian,

    I don't understand what you're trying to tell me.

  • artur santos
    Sat, Sep 30, 2023, 10:00 PM
    Hello Gareth!
    When I "Show completion" in the course, the percentage calculation considered all activities in the section, even those that are hidden.
    Shouldn't it consider only the ones visible?
    Thanks in advance.
  • Eliot Hoving
    Mon, Nov 6, 2023, 6:19 PM
    Dear Gareth,
    Our users have noticed that there is no option to indent activities and resources. I know Moodle removed this, but then reintroduced the option in 4.2 for Topics format.
    Do you plan to re-introduce indentation of activities and resources into Grid?
    Many thanks,
  • Gareth J Barnard
    Tue, Nov 7, 2023, 12:11 AM
    Dear Eliot,

    As I already have your contact details, I'll send you a message.

  • Christian Flury
    Mon, Nov 27, 2023, 8:39 PM
    Dear Gareth, like Eliot I am interested in the indentation question. It would be great if you could update me, too. Thx
  • Gareth J Barnard
    Tue, Nov 28, 2023, 1:59 AM
    Dear Christian,

    I'll add in the indentation functionality only if paid to do so.

    Kind regards,

Please login to post comments