Adding new resources from a different directiory

Adding new resources from a different directiory

by Ladislav Gálik -
Number of replies: 0
Hello,
I'm makin a block that allows users to share files to the selected users. This block uses default directory to share files in moodledata/blockname/userid/ (example moodledata/userfiles/2/). Everithing works just fine...

But I would also need, that if a user is a editing teacher in some course and wants to add a resource that he could upload this resource not only from the course directory (moodledata/courseid/) but also from his home (directorymoodledata/blockname/userid/). Is this possible with some easy way or should I write also a activity modul for this???
Average of ratings: -