I am trying to set an option/functionality to attach messages in Moodle private messaging services.
Regarding the project tree, I have found the libs as in many .js files that track the message before to be sent. Even the templates, where I have been able to modify.
Nevertheless I cannot understand where could I write the JS and PHP code needed to run the file uploader. In the INDEX? In Message.php from output?
Just that question. I do not need any clue about the deployment, but where could I place the code. Please understand it's not an own-designed project -then I'd be knowledgeable about where to fit everything.