Add HTML elements to activity/resource in course view

Add HTML elements to activity/resource in course view

by Diego Iorio -
Number of replies: 0
Hello to everyone!


I'm a digital humanities students, and i'm trying to develop a new plugin.

I need to insert new HTML elements under each activity/resource in main course view (moodle/course/view.php). 

These elements should appear when editing mode is both "on" and "off". 


I thought that a similar plugin regards "course format", 

but I have only managed to insert element in each section and not in each section's items (activities and resources).


I can access to resource/activity through javascript by DOM navigation, but I would avoid this solution and looking for the script 

that handles the print of each activity/resources in course view. Where can I find it? 


Thank for your help!

 

Average of ratings: -