Hello all, I am currently working on designing an activity module plugin. At the moment my priority is to get something working, but this is proving harder than expected.
The problem is that whenever I try to install the plugin, I don't get any feedback from moodle whatsoever. I have tried submitting a .zip file into moodle's GUI and leaving the directory to the file in moodle's mod file, then pressing 'check for available updates.' Neither of these produced any results on either a local or remote server, even with developer level error messages and repeatedly purging the cache.
I think the answer lies in here: https://docs.moodle.org/dev/Activity_modules
This states that an activity "consists of a number of 'mandatory files.'" It also says "There are several files that are crucial to Moodle. These files are used to install your module and then integrate it into the Moodle system. Each file has a particular function, some of the files are not necessary and are only created when wanting to use the functionality it offers. Below are the list of most commonly used files."
It does not explicitly mention what the required files are, however. As such I think the most likely source of the error is that I haven't implemented one of these mandatory files, or haven't implemented a crucial part of one of these files. While implementing all the files completely would probably work, I don't need all the files, and would prefer to get something running as soon as possible so I can test as I code.
I have an image of my current file path below. If you could tell me what additional files I should need to get an activity to show up on moodle, I would appreciate it. I would also appreciate being told I have all the required files already, as then I would know the problem is likely in one of the files itself.
And any other useful activity related resources would be appreciated.
Thanks for all your help