Moodle Plugins directory: Tiles format | Moodle.org
Tiles format
Course formats ::: format_tiles
Maintained by David Watson
A course format which displays course topics as "Tiles", in a grid rather than as a list. When clicked, tile content is displayed under the tile with an animated transition. The layout adapts to different screen sizes and orientations. Within each tile, activities can also be set to display as "sub-tiles". For each tile, the teacher can pick an icon from a predefined set, or upload a background photo.
Latest release:
18151 sites
7k downloads
426 fans
Current versions available: 7
Key features
- Tiles are used to show course topics and activities
- Animation is used to expand tiles to reveal content
- Icons or photos on each tile increase visual appeal
- Modal windows (animated pop ups) to show content
- Colours for tiles are customisable
- Theme compatibility is broad (Boost, Clean, Essential, Moove and Adaptable).
- Easy to switch into Tiles from other formats (e.g. Topics, Grid) without changing course content
- User friendly (e.g. tile icons are provided and don't need to be uploaded)
- Mobile responsive (adapts to different screen sizes and orientations)
- Progress shown on tile with % in a circle, or as a fraction
Contributors
David Watson (Lead maintainer)
Please login to view contributors details and/or to contact them
@Queenie sub-tiles were only shown to editors until Moodle 3.11. To save effort on the upgrade, they only appear to students from Moodle 4.0. They will be shown to editors again in a later release but it was a lower priority than getting other things working
@Ben thanks for the comment and I'm glad it helped!
@Birgit unfortunately the code does not cover that use case at present
It would be great if you could update format.php to use methods from the renderer instead of
using render_from_template() directly. This would allow us to override the renderables in the theme.
For example:
public function render_multi_section_page($course) {
$templateable = new \format_tiles\output\course_output($course, false, null, $this);
$data = $templateable->export_for_template($this);
return $this->render_from_template('format_tiles/multi_section_page', $data);
}
public function single_section_page($course, $displaysection) {
global $SESSION;
$SESSION->editing_last_edited_section = $course->id . "-" . $displaysection;
$templateable = new \format_tiles\output\course_output($course, false, $displaysection, $this);
$data = $templateable->export_for_template($this);
return $this->render_from_template('format_tiles/single_section_page', $data);
}
Thanks!
I used your plugin in a 4.5dev Moodle with PHP 8.2.13 installed. Due to the fact that I have enabled warnings, I got a few errors that I had to fix before using the plugin. I also created a pull request for these changes for your master branch.
Best regards, Stephan
When using the experimental feature in Moodle 4.4+ nothing on the left Course index is showing.
Use course index format_tiles | usecourseindex
Using Boost Union and LearnR template.
Thanks for this wonderful layout.
When I want to register the plugin, I also get an error. Your tiles plugin is not yet registered with the plugin developer:
Exception - Too few arguments to function format_tiles\registration_manager::make_curl_request(), 2 passed in [dirroot]/course/format/tiles/editor/register.php on line 68 and exactly 3 expected
The Experimental feature is now working and showing the index in the left column.
Unfortunately, filters only seem to work when a tile is loaded the first time, but do not seem to be applied when the tile is clicked for a second time. Filters are also not applied to Pages that are opened (in pop-up mode). Did you call the format_text() function on these?
Thanks again.
we are using the course format Tile and with the recent update you have to active the feature "Use course index" in the plugin. Before this feature was by default active and now it's tagged as Experimental feature. Our question ist how experimental it is? Are there any performance issues?
Thanks,
Birgit
Exception : Class "format_base" not found
comment resoudre ce probleme merci.
Thanks for this great plugin!
Using the latest version on Moodle 4.4 we noticed that changing an activity title to a string containing characters like &, <, or > replaces theses with their HTML equivalents, i.e. displays "&". The issue appears when exiting edit mode.
It is possible that the tile format allowed for stealth activities, meaning that the tile could be available but not visible on the course page. To organize the course content.
Thanks
José Gerardo DÍAZ ESTEPA
I am installing format_tiles plugin in moodle 4.4 but getting error after installing
Callback before_standard_html_head in format_tiles component should be migrated to new hook callback for core\hook\output\before_standard_head_html_generation
I have also created issue for this in bitbucket and the issue url is https://bitbucket.org/dw8/moodle-format_tiles/issues/224/getting-but-after-installation
Please fix this error for better experience
Thanks