Upload syllabus (as a resource) using a popup page

Upload syllabus (as a resource) using a popup page

by Edmund Evangelista -
Number of replies: 2

I am working on a popup page using PHP where faculty can upload their syllabus. I know that information about this are being stored on mdl_course_modules as well as mdl_resource tables. My problem now is where to physically store the file in moodledata? Can anybody orient me on how uploaded resource files of a particular course are being stored physically in moodledata? I am using Moodle 3.1, and these are the folders inside my moodledata.

Attachment x.jpg
Average of ratings: -
In reply to Edmund Evangelista

Re: Upload syllabus (as a resource) using a popup page

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers
In reply to Jon Bolton

Re: Upload syllabus (as a resource) using a popup page

by Edmund Evangelista -

Thanks Jon. I have read this and the rest of related articles in MoodleDocs. I am just overwhelmed with the info and can't seem to find how to start. Now, I am trying to look a sample page similar to /course/modedit.php for the same purpose.