Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84400

Linking directories in the Nextcloud repository

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Future Dev
    • Repositories

      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

        1. image-2025-02-25-12-33-35-124.png
          26 kB
          Dennis Pfahl
        2. Screenshot_A.png
          54 kB
          Alexander Bias
        3. Screenshot_B.png
          60 kB
          Alexander Bias

            Unassigned Unassigned
            carlcosinus Dennis Pfahl
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.