Basically the subject. I would like this user selector in the settings page of my activity module.
Is there way to add a userselector to the settings page of an activity module in moodle?
Erantzun kopurua: 2
isalpikachu k(e)ri erantzunda
Re: Is there way to add a userselector to the settings page of an activity module in moodle?
Yes you can. Here's an example from a plugin I worked on. https://github.com/ltu-solent/moodle-report_adhocreportviewer/blob/main/assign.php
The tricky bits are the queries to select or not select potential users.
The tricky bits are the queries to select or not select potential users.
isalpikachu k(e)ri erantzunda
Re: Is there way to add a userselector to the settings page of an activity module in moodle?
Hi, please have a look to the tool_userdebug:
https://moodle.org/plugins/tool_userdebug
https://moodle.org/plugins/tool_userdebug