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:
7439 sites
155 fans
Current versions available: 20

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


  • Tue, Jun 1, 2021, 4:45 PM
    I've installed the plugin for 3.10 version and something weird happened when I've changed the format from "grid" to "single activity" all the activities of this course flew away and I've discovered (new on the menu) the "orphaned" category... where they were located. I didn't know at first how all the courses disappeared... It's only when I've changed the course format back to "grid" that all the activities reappeared in the course. But before I've tried the "make available in the setting option" but it didn't put the activity (one by one back to the course) while there was no restriction access.

    So now I'm kind of stuck... wondering:
    if the only option when this happens is to copy all the courses in the orphaned section back to its original course bundle?
    if this is going to happen every time I would eventually want to change a course format?
    if this can be avoided by any option from where and how?

  • Gareth J Barnard
    Tue, Jun 1, 2021, 8:58 PM
    Dear Corinne,

    I think this is an issue with the Single Activity format and therefore out of my control.

  • Tue, Jun 1, 2021, 9:28 PM
    Dear Gareth,

    Right I was about to tell more but one can't post a second message here without a lapse of time (for being considered as spam) I was now about to tell, when I saw your answer.

    Thank you very much for answering so fast!
    I'm impressed.

  • Sat, Jun 26, 2021, 5:48 PM
    I am experiencing some problems with the course restoration: A course backup file of the "grid" course format cannot be restored with the latest version I've tested this on two different Moodle instances but every time the course recovery process stops. The debug info says "update_displayed_images - error code: cangetimagesforcourse".
    Does anyone else have this problem?
  • Gareth J Barnard
    Sat, Jun 26, 2021, 7:10 PM
    Dear Eva,

    Ok, what version of the Grid format are you running please? Can you make a no-user backup of the course (if indeed you have access to the course that created the backup file) or does the backup file not contain users? If so and you are willing, please post the MBZ on along with the details I've asked for. There is a known issue with update but I've not seen it with course restore.

  • Gareth J Barnard
    Sat, Jun 26, 2021, 7:52 PM
    Dear Eva,

    Sorry, confused, there will be a new release with a patch -> I thought you'd stated the Moodle version.

  • Thu, Jul 1, 2021, 5:53 PM
    Good morning!

    Is there a way I can add more than 52 sections?

    Many thanks in advance,
  • Thu, Jul 1, 2021, 6:25 PM
    Kelly - you can add more than 52 sections, but you will need your Moodle admin to increase the maximum number of available sections via yourmoodle/admin/settings.php?section=coursesettings - once they have done this, you can then add more sections to a course. This is not specific to the Grid Format but replies to any course format in use.
  • Thu, Jul 1, 2021, 7:15 PM
    Oh, duh! Thank you Dave!!
  • Fri, Jul 16, 2021, 10:23 PM
    Hi. First i want to thank you for such great plugin that i personally have been using for almost 3 years now. one thing i noticed though. When you try to embed a video in a label activity and you try to play it. if then you close the modal, the video keeps playing in the background. So it would be great if you can force stop embedded videos upon closing modal
  • Gareth J Barnard
    Fri, Jul 16, 2021, 11:07 PM
    Dear Dave,

    Thanks. That problem has been around for many years and I've never been able to solve it. If you have a patch with a potential solution, then I'd be happy to look at it.

  • Fri, Jul 23, 2021, 7:10 AM
    Hello dear Gareth,

    Is it possible to show the compleation on each section on the grid. something like a porcentaje or maybe the fraction of the activities already done for a section. I like a lot this format.
  • Gareth J Barnard
    Fri, Jul 23, 2021, 7:10 PM
    Dear Alfredo,

    It's not possible at the moment, but could be added in. This would be a reasonable amount of work.

    Kind regards,

  • Mon, Jul 26, 2021, 12:23 AM
    Hi Gareth - I have a problem with grid format image on hover - in other Moodle versions both 3.3. and 3.11 everything fine where the image grows slightly from centre but I am using 3.9.1 for another client and the image reduces to the right bottom corner leaving white space to top and left. Any help appreciated.
  • Gareth J Barnard
    Mon, Jul 26, 2021, 12:31 AM
    Dear Graham,

    Probably some iffy CSS in the theme or another plugin. As this is almost certainly site specific, then I'll want to be paid for my investigation time and any fix I give. If however, it actually does transpire to be a Grid issue, then I won't charge.

Please login to post comments