EscolaLMS/Files

View on GitHub
ADMIN.md

Summary

Maintainability
Test Coverage
## Files

After logging into the Admin Panel, you should navigate to the "Configuration" tab in the left sidebar menu and select "Files" from the dropdown menu. 

The following view will appear before you:

![image](https://github.com/EscolaLMS/Files/assets/108077902/f0b63bea-68e0-45a8-b512-23b60ddc738e)

The Files Library serves two purposes. First, it functions as a file and folder tree similar to any operating system. You can add files by clicking "Add Here" to use them in courses, webinars, or other areas, selecting them from the files uploaded to the Admin Panel rather than from your local computer.

![image](https://github.com/EscolaLMS/Files/assets/108077902/b5e7392e-a9ea-46c8-a98c-66141ff4f1cc)

The second function of the Files Library is the automatic saving of all platform files. When creating a course, an automatic course ID is generated, and all files added to the course can be easily accessed through this ID without having to browse through the entire course content.

![image](https://github.com/EscolaLMS/Files/assets/108077902/2ea09207-6584-4e9e-abf2-de39f3cb174a)

If you want to delete a file from the Files Library, simply click on the red button on the right side. ![image](https://github.com/EscolaLMS/Files/assets/108077902/5201db7a-b55c-4031-a1a8-c6f5f864c2fa)

![image](https://github.com/EscolaLMS/Files/assets/108077902/61b18261-935f-44c3-87cc-98f4c0e5b7e1)

>[!WARNING]
>You cannot delete automatic folders because the platform creates them automatically and links them to elements added in other parts of the platform. Therefore, you won't find a delete function for folders.

In many modules of the platform, mainly when adding content, you can find a module for adding files. An example from courses is shown below:

![image](https://github.com/EscolaLMS/Files/assets/108077902/617bd3a5-7da9-4807-9fc0-4d397f27b3b6)

By using the ![image](https://github.com/EscolaLMS/Files/assets/108077902/1ae6e057-b33b-4c72-bedd-6f2720f33ad2) option, we can add a previously uploaded file from the library or review the files already added to this course.

![image](https://github.com/EscolaLMS/Files/assets/108077902/90b33608-8892-498d-8bf1-452f03c4542e)

By using the second button ![image](https://github.com/EscolaLMS/Files/assets/108077902/85212aed-e1d5-4811-a7a0-b6d228f94bb1), you can directly add a file from your local disk.