Once the file-picker comes up with a list of standard, site-wide repositories the context switches to SITE and any $COURSE information refers to the site (id = 1). How would a person get hold of the actual course or context from which the file picker got called?
Getting $COURSE or context for course while in site-wide repositories
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.