Sur un thème Moodle standard, pas de problème, voir ma capture d'écran.
Tu n'as pas indiqué quel thème visuel tu utilises.
Sur un thème Moodle standard, pas de problème, voir ma capture d'écran.
Tu n'as pas indiqué quel thème visuel tu utilises.
npx grunt gherkinlint --debug --root=mod/forum
(or any other plugin on my Moodle test site) it does it's thing, i.e. it checks the files inside mod/forum only.
But that is not the task I want grunt to do, I want it to watch/build an AMD script (restricting the task to an AMD folder only). By the way, with npm tasks I'm used to running npm watch and npm run (e.g. when working on the H5P libraries). But I see no "run" command in grunt. Is "watch" the same as "run" for grunt?
On page https://moodledev.io/general/development/tools/nodejs the doc. says "You need to cd into the amd folder of your module root, for example dirroot/blocks/foo/amd
, before running grunt amd
(this will compile only your plugins AMD source files)."
But when running Grunt on my local Moodle Windows install inside one AMD folder I find this does not work as expected: Grunt seems to run all over Moodle, re-building/compiling all the AMD modules!
Any idea?
"teachers can practice quizzes but they cannot share the attempts to the senior teacher"
The reason is evident: teachers can take quizzes (to see if quizzes work as expected), but their attempts are not saved on a Moodle site; only students' attempts are saved.
From what you explain it looks like on your Moodle site (or course) the "ordinary" teachers are considered as "students" from the point of view of the "senior teachers". This does not work when using normal roles in Moodle. You might perhaps achieve what you want by creating special roles, but I doubt it.