Hello, all moodle developer,
I need some suggestions from your guys. I am going to develop a web page which can be used for people to define, add, modify multiple categories. Finally the category should be connected to moodle course. See the attachment I included here. Of course, there are some other functions in the page, but it is all based on the structure listed in the file.
From the page, when user click the course, it should be able to go to the moodle course page. And also the page can display all links to the moodle courses.
Since this page will be connected to all the moodle courses, not dedicated to one course, I don't think I should develop an activity module. Because from my understanding, the activity modle is added for each course. Activity modle is not good choice to the functions I need for the page. Am I right? I am not sure about it.
Another question is if I develop the page, I need to reuse a lot of functions defined in moodle, especially for identify who the user is. Can I just include config.php in my PHP file, use the global object $USERS to know who is visiting the page?
Any suggestion will be very appreciated.