Course formats: Board

format_board
Maintained by Rodrigo Brandão
"Board" (Grids and Blocks) is a course format in grid for Moodle 2.8 or later with full flexibility between sections and columns. You can choose quantity and width of columns and quantity of sections in each column.
1093 sites
62 fans
Moodle 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9
"Board (Grids and Blocks)" is a course format in grid for Moodle 2.8 or later with full flexibility between sections and columns. You can choose quantity and width of columns and quantity of sections in each column.

Discuss this plugin on the Moodle forums.

Awards

• Wed, Nov 23, 2016, 12:40 AM
You don't need to edit the theme - I figured it out. Set each group to 33% and include ONE item per group to get a three-column layout. Seems illogical but it works!
• Fri, Dec 16, 2016, 5:03 AM
So I use 41 Topics, but these format seems to only allow me to set widths for the first 15... so I'm confused. For example, Topic 1 is 100%, but Topics 2 & 3 / 4 & 5 should be side-by-side (each set to 50%). I can only put them side-by-side (as Gayle points out) if I include ONE item per group. So by the time I reach Topic 15, I'm out of luck... The 'number of sections per group' seems to only work Vertically, not Horizontally. Anyway around this?
• Fri, Dec 16, 2016, 5:11 AM
Understand it now... each "Group" is a just a vertical column (not a row). So Group 1 @ 50% for column 1 with x topics in the column, then Group 2 @ 50% for column 2 with x topics in the column.
• Tue, Dec 20, 2016, 10:03 PM
John, I will find out the problem... and fix the issue in the next week release!
• Thu, Jan 5, 2017, 2:39 AM
Turns out I was not using 2016111600. I downloaded and all is working perfectly!
• Wed, Jan 25, 2017, 7:32 PM
Hello, the format presents error when performing a backup in Moodle "error / setting_invalid_ui_label". How to solve the error?
• Wed, Jan 25, 2017, 8:35 PM
@ John - are you using the latest version of this plug in? Because that solved the same issue for me on Moodle 3.0
• Mon, Apr 10, 2017, 8:46 PM
Rodrigo - on 3.0 using either the clean or Blocks layout, the General section still does not get outlined. Is there a code snippet I can add to get this outlined? When I try to add something to my custom CSS I can get the outline back but then all the parts below bump back into to a vertical column instead of side by side like I had set them up.
• Tue, Aug 1, 2017, 7:51 PM
Hi, Rodrigo. Thanks for building this simple yet very useful course format! Can you tell me if it might somehow be possible to combine the Onetopic TABS approach with the Board format's grid approach?

What I would love is to have course modules be selected via Tabs at the top of the page, and then have a grid of sections for each Module page.

thanks!
Jacques
• Tue, Dec 12, 2017, 11:33 PM
Hello
I am the admin of a Moodle platform (version 3.3+). My version of php is 7.1
In any course, if I use the Board course format, when I turne editing on, if I want to change the title of a topic with the "Edit topic name" function I get this error message:

""""""""""""""
Error calling update processor
File:
/lib/external/externallib.php
Line:
467
Stack trace:
Error code: inplaceeditableerror
* line 467 of /lib/external/externallib.php: moodle_exception thrown
* line 228 of /lib/externallib.php: call to core_external::update_inplace_editable()
* line 59 of /lib/ajax/service.php: call to external_api::call_external_function()
""""""""""""""

Changing the title of this section through the Edit topic Menu, I do not get this error message.
This error only appears with the Board course format, it does not appear with other course formats.
Do you know how to fix this problem?
Thank you.
• Wed, Feb 20, 2019, 1:40 AM
To fix the inplace_editable error, you can copy the last function out of "course/format/topics/lib.php" into "course/format/board/lib.php" and update it for the "board" plugin rather than the "topics" plugin. You will be implementing the missing called as a function named "format_board_inplace_editable".
• Wed, May 22, 2019, 6:23 PM
Olá,

Alguma previsão de atualização para este plugin?

Ricardo
• Mon, Jul 15, 2019, 9:58 PM
Thank you Adam. It works now! I add this in the end of "course/format/board/lib.php" file:

/**
* Implements callback inplace_editable() allowing to edit values in-place
*
* @param string $itemtype * @param int$itemid
* @param mixed $newvalue * @return \core\output\inplace_editable */ function format_board_inplace_editable($itemtype, $itemid,$newvalue) {
global $DB,$CFG;
require_once($CFG->dirroot . '/course/lib.php'); if ($itemtype === 'sectionname' || $itemtype === 'sectionnamenl') {$section = $DB->get_record_sql( 'SELECT s.* FROM {course_sections} s JOIN {course} c ON s.course = c.id WHERE s.id = ? AND c.format = ?', array($itemid, 'board'), MUST_EXIST);
return course_get_format($section->course)->inplace_editable_update_section_name($section, $itemtype,$newvalue);
}
}
• Sun, Aug 25, 2019, 9:43 PM
Hello, I was wondering if you will be updating the plugin for Moodle 3.7? I really like this plugin and would appreciate its update. Thanks.
Sarolta
• Tue, Aug 18, 2020, 4:37 AM
Is it compatible with 3.9+ version of Moodle?