Hi fellow moodlers (if there is such a word),
I have a question regarding customization of the front page course list by editing the course/renderer.php file.
version: Moodle 3.7
front page course list > course boxes: Moodle default
make the whole coursebox div clickable, in order to expand or collapse the course details, instead of using the small "i" at the far left of the box (which will then be redundant). In other words, I would like to move onto the div coursebox the action currently set on the small "i" in the div moreinfo.
I have identified that the business happens near line 1120 in course/renderer.php but I am unfamiliar with the html_writer:: syntax. I have looked around, and I think I have to nest div within url, but unsure about the actual syntax. Can anyone give me a few helpful lines ?
I am aware that I'll have to be careful with future updates if I modify php files.
Any help will be greatly appreciated.
PS: I am not a developer (I am a trainer in system & network), so I am unable to write php, but I can understand it to some extent.