Moodle plugins directory: Grid Format | Moodle.org
Grid Format
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.
The format comes with no support. Please post on https://moodle.org/mod/forum/view.php?id=47.
Gareth
No idea. Anything in the PHP log?
G
The following error displays:
(directories changed for privacy)
PHP Warning: copy(/moodledata/filedir/1a/d5/1ad58f0cb4c1331f0b4b985bd23a6c9a7b22c028): failed to open stream: No such file or directory in /moodle/lib/filestorage/file_system_filedir.php on line 234
PHP Warning: getimagesize(/moodledata/temp/gridformatdisplayedimagecontainer/1ad58f0cb4c1331f0b4b985bd23a6c9a7b22c028): failed to open stream: No such file or directory in /moodle/course/format/grid/lib.php on line 2762
Database transaction aborted automatically in /moodle/admin/cli/upgrade.php
Default exception handler: Image information is empty - itemid > 64568, filename > goi_Welcome 2.png, sectionimage_sectionid > 64568, sectionimage_image > goi_Welcome 2.png, sectionimage_newimage > goi_Welcome 2.png and sectionimage_displayedimageindex > 1. Please report error details and the information contained in the php.log file to developer. Debug: generate_image
Error code: noimageinformation
line 498 of /lib/setuplib.php: moodle_exception thrown
line 2765 of /course/format/grid/lib.php: call to print_error()
line 2502 of /course/format/grid/lib.php: call to format_grid::generate_image()
line 2731 of /course/format/grid/lib.php: call to format_grid->setup_displayed_image()
line 2963 of /course/format/grid/lib.php: call to format_grid->update_displayed_images()
line 149 of /course/format/grid/db/upgrade.php: call to format_grid::update_displayed_images_callback()
line 692 of /lib/upgradelib.php: call to xmldb_format_grid_upgrade()
line 1917 of /lib/upgradelib.php: call to upgrade_plugins()
line 193 of /admin/cli/upgrade.php: call to upgrade_noncore()
!!! Image information is empty - itemid > 64568, filename > goi_Welcome 2.png, sectionimage_sectionid > 64568, sectionimage_image > goi_Welcome 2.png, sectionimage_newimage > goi_Welcome 2.png and sectionimage_displayedimageindex > 1. Please report error details and the information contained in the php.log file to developer. !!!
!! generate_image
Error code: noimageinformation !!
!! Stack trace: * line 498 of /lib/setuplib.php: moodle_exception throw
Are you installing Grid Format version 3.10.1.1 (2020111402)?
Ricardo
After an hour of re-testing, I cannot replicate. I suspect you have an iffy 0 byte image on that course that has broken in the Moodle data folder. Use the section id in the error to look in the 'course_sections' table in the DB, to find the real course and section etc. Also then you can use the same sectionid as the 'itemid' in the files table to track down the file on disk.
G
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?
Thanks...
I think this is an issue with the Single Activity format and therefore out of my control.
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.
Corinne.
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 3.10.1.3. 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?
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 https://moodle.org/mod/forum/view.php?id=47 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
Sorry, confused, there will be a new release with a patch -> https://github.com/gjb2048/moodle-format_grid/issues/145. I thought you'd stated the Moodle version.
G
Is there a way I can add more than 52 sections?
Many thanks in advance,
Kelly