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:
7239 sites
3k downloads
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.

Support:

The format comes with NO support.  Please see the 'Support' section in 'Readme.md' 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.

Screenshots

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

Contributors

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

Comments RSS

Comments

  • Michael Woods
    Fri, 20 Jan 2023, 12:21 PM
    Hi Gareth,
    I'm noticing that the grid images are not restored to other courses in version 400.2.0, even if source and destination course are both set to grid format before the backup/restore.
    Any advice?
    Thanks!
    Michael
  • Gareth J Barnard
    Fri, 20 Jan 2023, 8:46 PM
    Dear Michael,

    This is intentional as it would be wrong for the images to replace existing images in an existing course. If the restore is to a new course then the images from the backup are restored.

    Gareth
  • Michael Woods
    Tue, 24 Jan 2023, 7:56 AM
    Dear Gareth,

    Thanks for the quick reply.

    Just clarifying that my use case is when I'm choosing to delete the contents of the target course on restore, it still doesn't bring the images in. I understand not wanting to overwrite existing images in a target course on a 'merge' type restore.
    In Moodle 3.8 (the version we were on until recently), grid format section images were correctly copied between courses.

    Thanks again!
    Michael
  • Gareth J Barnard
    Wed, 25 Jan 2023, 2:15 AM
    Dear Michael,

    Interesting, ok, I can see how the M3.8 version used to work in that respect and how the M4.0+ re-write does not in terms of reacting to different restore scenarios. I'll get around to thinking of a solution at some point.

    Kind regards,

    Gareth
  • Michael Woods
    Wed, 25 Jan 2023, 5:21 AM
    Thanks, Gareth. Much appreciated!
  • Björn Büch
    Thu, 9 Feb 2023, 3:23 PM
    Dear Gareth,

    thanks for ur awesome plugin. But I have a question.
    When having the popup enabled the navigation through the navigation menu on the left doesnt work. Is this intentional?
    Thank you!
    Björn
  • Gareth J Barnard
    Fri, 10 Feb 2023, 2:20 AM
    Dear Björn,

    What do you mean by 'doesn't work'? Because it does.

    G
  • Björn Büch
    Fri, 10 Feb 2023, 4:51 PM
    Dear Gareth,

    that is interesting, because it does not work here. But we are planning to upgrade our moodle 4.0 to 4.1 over the weekend. So maybe that will solve the issue. I will report when it does.

    Thank you!
    Björn
  • Björn Büch
    Fri, 10 Feb 2023, 8:32 PM
    Dear Gareth,

    wie updated and the behaviour is still there. But a collegue of mine pointed out, that the error is not with grid but with my expectations.

    Because grid with pop-up disabled highlighted the visited theme in the navigation menue, I expected the same of the pop-up enabled version.
    Also when popup enabled a click in the navigation menue scrolls the mainview of the course to the related topic. But it doesnt open it. I just expected it to open the topic, because the popup-diasbled version does.

    Thank you and sorry for the inconvenience,
    Björn
  • Gareth J Barnard
    Fri, 10 Feb 2023, 9:36 PM
    Dear Björn,

    Thank you for letting me know, I was heading off on a wild goose chase. Given that there are other issues with the Course Index (CI) and the popup that relate to the CI JavaScript, I may just disable it in that mode if possible.

    G
  • Björn Büch
    Fri, 10 Feb 2023, 11:48 PM
    Dear Gareth;

    we will keep grid with the pop-up disabled. which is a bummer because I really like that popup from a visual point if view. Although it causes diffulties because of available space on a mobile devices.

    Best regards
    Björn
  • Gareth J Barnard
    Sat, 11 Feb 2023, 1:57 AM
    Dear Björn,

    I'm not disabling the popup but the Course Index. So are you saying that the two are essential for you? Snag is that there is a JS error too, that I can't quite figure out at the moment.

    G
  • Björn Büch
    Sat, 11 Feb 2023, 3:30 PM
    Dear Gareth,

    when we tested multiple course formats with our test users, I have to admit the results may not representative for all cases, to my surprise the users feedback was, that they absolutely need the course index. not only to navigate but through the highlighting are able to orientate themselves in the course.

    Which was surprising to me because I expected them to just work their way through the testcourse. But when we used formats without the CI they were really complaining. and those who experienced the CI once wanted it to be there in every other course format.

    Another problem of ours is, that the course has to be usable on desktop an mobile devices. So if I had to choose between course index and popup , would choose CI to stay.

    With use of mobile devices it would be beneficial to have the ability to enable popup for a certain screen width, and having it disabled for small screens.

    I hope u can understand my feedback, cause Im not a native english speaker. And I wish I could be of help for the technical stuff, but I can't programm Moodle plugins. So you have my admiration and my thanks for your work.

    Best regards,
    Björn

  • Gareth J Barnard
    Fri, 17 Feb 2023, 3:01 AM
    Dear Björn,

    Currently I don't see what the issue is with the popup and mobiles? If it is required for the modal to show when a section is clicked on within the course index, then this would need to be a funded enhancement, if indeed it is actually possible.

    Kind regards,

    Gareth
  • Fernando Pinzon
    Tue, 16 May 2023, 2:01 AM
    Dear Gareth, thank you for this wonderful work. I have a question, and I will appreciate any help
    I was using the grid course format in moodle 3.8. In one course I had a js function to select a section (depending lang of the user) using the code:

    M.format_grid.selected_section_no = section_no; M.format_grid.update_selected_background(M.format_grid.selected_section_no);
    M.format_grid.grid_toggle();

    I see this does not work in 4.1 but I can`t find the right object to select a section.
    Thank you in advance for any help or example?
    Best regards
    Fernando
Please login to post comments