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:
17613 sites
7k downloads
417 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
![Tiles](https://moodle.org/pluginfile.php/50/local_plugins/plugin_screenshots/2150/photo_tiles_boost_theme.jpg)
Contributors
David Watson (Lead maintainer)
Please login to view contributors details and/or to contact them
When the latest version of the format "Titles" or mosaics I get this error that prevents me from editing any resource in the course.
Excepción - Class "format_tiles\output\courseformat\content\cm\controlmenu" not found
If I choose another format the error disappears and I can edit the course.
How can I fix it? Thank you very much
xcepción - Class "format_tiles\output\courseformat\content\cm\controlmenu" not found
How can it be fixed.
@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.