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:
7336 sites
158 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


  • Gareth J Barnard
    Sat, Oct 18, 2014, 1:16 AM
  • Tue, Nov 4, 2014, 10:26 PM
    Fantastic plugin - really love it. Is it possible to use svg files for the images in the grid boxes? When I try this it seems to work but then I get no image in the box.
  • Gareth J Barnard
    Wed, Nov 5, 2014, 1:53 AM
    Hi Conor,

    SVG files are not accepted. How did you manage to bypass: 'accepted_types' => array('gif', 'jpe', 'jpeg', 'jpg', 'png') on the image form?

  • Mon, Nov 24, 2014, 6:01 AM
    Hi, I want limit the width of the "gridshadebox". I have added "max-width: 800px;" to the styles.css in the section "#gridshadebox_content". It works fine, but the gridshadebox isn't centered. It's placed to the left side. How can I center it?
    Thanks, and I apologize for my english.
  • Gareth J Barnard
    Mon, Nov 24, 2014, 6:22 AM
    Hi Pedro,

    To be honest I do not know without spending time figuring it out, which I do not have. You could ask on the forums for help.

    Kind regards,

  • Thu, Nov 27, 2014, 10:57 PM
    love the grid format, however when i click on a grid all of the lightboxes appear as one. Is there a setting that i am missing so each grid only shows that topic?
  • Gareth J Barnard
    Fri, Nov 28, 2014, 12:42 AM
    Hi Nigel,

    Please could you post screen shots on the courses and course formats forum - - along with details of Moodle and Grid version.


  • Fri, Feb 6, 2015, 4:50 AM
    Hello all,
    Could any one help me with adding check boxes to the grids. Because I want students to know which sections they have completed. Thank you.
  • Gareth J Barnard
    Fri, Feb 6, 2015, 4:56 AM
    Hi Sirisha,

    Please could you make a post on:

    Unfortunately I'm busy at the moment.

    Kind regards,

  • Fri, Feb 6, 2015, 5:34 AM
    No Problem Gareth smile
  • Mon, Jul 20, 2015, 7:50 PM
    I have moodle 2.9 version .I installed in your grid course format plugin.
    i got fatal error when i created new course.
    The error is
    "Fatal error : Cannot use object of type stdClass as array in
    F:\xampp\htdocs\test\moodle_29\course\format\grid\lib.php on line 886" .
    But course was created.Its major issue in your plugin.
    Please don't mine .if you fix this issue it would be great for us.

  • Me
    Fri, Jul 31, 2015, 5:29 AM
    Hello there! We love grid format - just one small request. When you go to update the image in a tile, it only gives you the option of uploading an image. Is it possible to have the option of inserting an image URL added to this form? - Miriam
  • Gareth J Barnard
    Fri, Jul 31, 2015, 5:51 AM
    Hi Miriam,

    An interesting idea. Would you like to fund the anticipated several days of my time to make this work correctly with the existing functionality?

    Kind regards,

  • Wed, Sep 16, 2015, 5:02 PM
    I really love this format, but since the last upgrade it is acting a little strange.
    When I try to add or change a picture in the grid format on the course page, it links back to my other site which is in another directory on the same URL.
    First directory is and Moodle is in
    Any ideas would be most welcome as I don't want to abandon this great looking plugin.

    Thanks for any light you can shed.

  • Gareth J Barnard
    Wed, Sep 16, 2015, 6:09 PM
    Hi Chris,

    I have not changed that area of code in a while, ok, please could you post the following to the 'Courses and course formats' forum -

    Screen shots of the issue.
    Details of Moodle version.
    Details of Grid version before the upgrade and the version now being used.

    Kind regards,

Please login to post comments