Grid format updated for Moodle 3.9 and 3.10

Grid format updated for Moodle 3.9 and 3.10

by Gareth J Barnard -
Number of replies: 9
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hello,

I've updated the Grid format as follows:

Version 3.10.1.1 for Moodle 3.10 version 2020110900.00 (Build: 20201109) and above within the 3.10 branch until the next release:

Version 3.9.1.2 for Moodle 3.9 version 2020061500.00 (Build: 20200615) and above within the 3.9 branch until the next release:

with:

  1. Fix 'Site default not applied to setsection0ownpagenogridonesection'.
  2. Add new 'single page summary image' functionality (with settings) to show the section image in the section summary on a single section page.

with '2' the image will only appear if you have content in the section summary.  It will be exactly the same one as in the grid.  I've greatly improved the displayed image generation code, as previously the background colour was integrated into it, clearly that would look bad on the single section page.

Please report any issues with these versions ONLY here.

Gareth

Average of ratings: -
In reply to Gareth J Barnard

Re: Grid format updated for Moodle 3.9 and 3.10

by Ricardo Caiado -
Picture of Particularly helpful Moodlers
just upgraded to 3.10.1.1 (2020111402) and now got error 500
In reply to Ricardo Caiado

Re: Grid format updated for Moodle 3.9 and 3.10

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
As stated on https://moodle.org/plugins/format_grid, please look in the PHP log for errors.
In reply to Gareth J Barnard

Re: Grid format updated for Moodle 3.9 and 3.10

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Additional: I've just done an upgrade test from 3.10.1.0 to 3.10.1.1 on a fresh M3.10 installation with one Grid format course and there were no issues at all.
In reply to Gareth J Barnard

Re: Grid format updated for Moodle 3.9 and 3.10

by Ricardo Caiado -
Picture of Particularly helpful Moodlers
Just installed on a second Moodle site with no error message.

Might be some conflict with some other plugin on the first Moodle site.

I will try to figure it out.
In reply to Gareth J Barnard

Re: Grid format updated for Moodle 3.9 and 3.10

by Ricardo Caiado -
Picture of Particularly helpful Moodlers
Got this error messages when upgrading:

Thu May 13 02:30:55.275583 2021] [proxy_fcgi:error] [pid 2645529:tid 140415256733440] [client XXX.XXX.XXX.XXX:49549] AH01067: Failed to read FastCGI header, referer: https://xxxxx/admin/index.php?cache=0&upgradekeyhash=559f101997b92ae7008d30591431680d5afe22be&confirmrelease=1&confirmplugincheck=0&confirmupgrade=1

[Thu May 13 02:30:55.275668 2021] [proxy_fcgi:error] [pid 2645529:tid 140415256733440] (104)Connection reset by peer: [client XXX.XXX.XXX.XXX:49549] AH01075: Error dispatching request to : , referer: https://xxxxx/admin/index.php?cache=0&upgradekeyhash=559f101997b92ae7008d30591431680d5afe22be&confirmrelease=1&confirmplugincheck=0&confirmupgrade=1

PS: this timeout only happens when upgrading Grid Format 3.10.1.1 (2020111402) plugin.
In reply to Ricardo Caiado

Re: Grid format updated for Moodle 3.9 and 3.10

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Dear Ricardo,

Interesting. The update uses a grid image update that is called at other times too, thus increase that timeout.

G
In reply to Gareth J Barnard

Re: Grid format updated for Moodle 3.9 and 3.10

by Acqua Alta -
Hi Gareth,
Maybe I'm missing something, but it seems that there is a serious RTL (Right-to-left) issue with the recent version of the plugin.
Please see:
Grid images are misplaced in Right-to-left (RTL) mode #141

I don't know when the bug was introduced into the plugin, but It didn't exist in Moodle v3.8.2 with Grid format v3.8.0.1 (2019111700).

Could you please take a look into it?

Thanks
In reply to Acqua Alta

Re: Grid format updated for Moodle 3.9 and 3.10

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
In reply to Gareth J Barnard

Re: Grid format updated for Moodle 3.9 and 3.10

by Acqua Alta -
Thanks a lot smile
I didn't try it yet, but I'm sure it works and thank you already.