-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
-
Future Dev
Currently, you can only create links for individual files.
This issue aims to enable linking of complete directories. The use case is straightforward: A teacher with multiple files in a Nextcloud directory should be able to share the entire directory with a single link, rather than linking each file separately.
The idea is to have a share button for directories in the Filepicker.
Clicking the share button opens a pop-up window, which enables the user to use a different name for the directory.
This would require changes to filepicker.php.
After linking the folder a mod_folder activity is created in the course with the given name. The folder activity should have the same functionalities as usual:
- a click on the folder shows the content of the linked folder, either on a seperate site or the course site
- if there are subdirectories present, they are also displayed, if the topdirectory is expanded
- the download functionality for folders is available for linked directories ( downloading the zip from Nextcloud Repository)
- the teacher can enable the setting 'force downloading', the files are managed by moodle
One possible approach could be to extend the mod_folder activity to use shared directories