moodle - Customize the list of courses in the dashboard page -


i'd modify list of courses ( course overview ), modify display of courses.

i'd that: enter image description here

is there way save thumbnail each course in database, , display in dashboard of course list, each course it's own picture, according subject

i have updated file moodledir\blocks\course_overview\renderer.php
added static html image next each course

in course settings form there option add images in "course summary files"

you can upload image there , retrieve in renderer using function course_image($courseid) shown in example:

https://gist.github.com/bmbrands/c1eb21dfa7f491b1205ea0ca806b5493


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -