Plugin which affects each activity

Plugin which affects each activity

deur Louise Delgado -
Getal antwoorde: 0

I'm a totally newbie in moodle development and therefore I have a very general question.
I would like to make something like the completion button, which can be enabled on each activity of a course.
What type of plugin should I use? I think the block plugin is the only one that could fit.
But normally (I just finished the tutorial for the block plugin) only one block is created on the page. Is it possible to add a block (or something like a button/checkbox/combobox/radio buttons) to each acitivity?

Is is it a good solution to search for the <li> elements in HTML with class like 'activity%' and id like 'module-%' or is there a better/easier way?
Thanks in advance, your advice will be appreciated.

Gemiddeld van beoordelings: -