
Course formats: Masonry Topics format
format_masonry
Maintained by
Renaat Debleu
This course format displays all sections like a masonry build brick wall. Every section can have a different background and is dynamically placed into a fluent style page.
406 sites
271 downloads
34 fans
Current versions available: 8
This course format displays all sections like a masonry build brick wall. Using YUI (http://yui-masonry.appspot.com/), every section is dynamically placed into a fluent style page. Each section can have a different background color.
Warning: The order of the topics shown depends on the screen size and can vary from screen to screen.
Useful links
Contributors
Renaat Debleu (Lead maintainer)
Please login to view contributors details and/or to contact them
It is a bold statement that absolutely nothing happens. I'm sure a lot of things happen in the background, and most important a javascript error. Can you post the output of the console tab (press F12 in your browser and choose console [Chrome: Ctrl+Shift+J Firefox: Ctrl+Shift+K, Internet Explorer: Ctrl+2]), so I have some more information?
R
Moreover, the upgrade involves also a move from YUI into AMD and this takes more time than I thought.
I only find textfields as part of the feedback module (mod/feedback/item/textfield/textfield_form.php). Are you having problems with the feedback module text fields in this course format? Can you send me a screenshot as I can not reproduce this error?
i am sorry, i mean the label ressource. I dont know why i wrote textfield.
THX for the report.
Undefined property: stdClass::$format_masonry_defaultbackgroundcolor in moodle/course/format/masonry/lib.php on line 51
css for the label is working! Great Job
But there is another problem in conjunction with Eduhub Theme.
I made a screenshot (
When i comment out the following line in masonry style.css flickering stops.
#page-course-view-masonry .sitetopic .section li.activity:hover,
#page-course-view-masonry .course-content .section li.activity:hover {
/* opacity:0.6;
filter:alpha(opacity=60); */
}
On every update, my changes are lost, so can you please solve this in the next version?
Thanks for the info. I will have a look at it for the next version.
Perhaps a solution would be to add some lines to your theme css file, after an update your changes would not be lost...
#page-course-view-masonry .sitetopic .section li.activity:hover,
#page-course-view-masonry .course-content .section li.activity:hover { opacity:1 !important;}
can you give me your Moodle and plugin version?
In an effort to reproduce the error, I added a new scenario to the acceptance testing of the plugin:
Given the following "courses" exist:
| fullname | shortname | format | coursedisplay | numsections |
| Course 1 | C1 | masonry | 0 | 4 |
And I log in as "admin"
And I am on site homepage
And I follow "Course 1"
And I backup "Course 1" course using this options:
| Confirmation | Filename | test_backup.mbz |
Then I should see "Restore"
But I do not see any error:
$ moodle-plugin-ci behat
RUN Behat features for format_masonry
Moodle 3.3dev (Build: 20170119), 5130953c8a103c44111a3c987cf47ed3c7a5c84b
Php: 7.0.15, mysqli: 5.5.53-0ubuntu0.12.04.1-log, OS: Linux 3.13.0-103-generic x86_64
Server OS "Linux", Browser: "firefox"
Started at 26-01-2017, 02:32
...................................................................... 70
..
4 scenarios (4 passed)
72 steps (72 passed)
1m21.02s (68.77Mb)
The command "moodle-plugin-ci behat" exited with 0.
(see https://travis-ci.org/ewallah/moodle-format_masonry/builds/195275242)
I installed version 3.5 (ie, 3.4+ (2018111801)) and when I add an image to the first section, it does not appear and the rest of the sections look bad.
Best regards.
Verónica.
There is a problem tracker to report these issues (preferably with screenshots).
Greetings.