Fitxategi-sistema biltegiaren ezarpenak: berrikuspenen arteko aldeak
No edit summary |
|||
1. lerroa: | 1. lerroa: | ||
{{Itzuli gabekoak}} | {{Itzuli gabekoak}} | ||
== | ==Nola erabili fitxategi-sistema biltegi gisa== | ||
This module allows you to share any of the sub-directories found in $CFG->dataroot/repository as a browseable repository inside Moodle. | This module allows you to share any of the sub-directories found in $CFG->dataroot/repository as a browseable repository inside Moodle. | ||
9. lerroa: | 9. lerroa: | ||
Here is [http://moodle.drupalgardens.com/article/tue-06152010-1918/ftp-files-moodle-20-repository-api a video] that may be helpful. | Here is [http://moodle.drupalgardens.com/article/tue-06152010-1918/ftp-files-moodle-20-repository-api a video] that may be helpful. | ||
===1. | ===1. Sortu hainbat karpeta, biltegi izateko=== | ||
Inside your "Moodledata" directory (the one where all your data is stored), create one called "repository". | Inside your "Moodledata" directory (the one where all your data is stored), create one called "repository". | ||
19. lerroa: | 19. lerroa: | ||
Note that these directories can be ANYTHING your operating system supports. You could mount a whole hard drive there, or mount a shared Windows network drive via SAMBA. You could have a symbolic link to a directory that allows FTP access. The sky is the limit here for a creative Moodle admin!! | Note that these directories can be ANYTHING your operating system supports. You could mount a whole hard drive there, or mount a shared Windows network drive via SAMBA. You could have a symbolic link to a directory that allows FTP access. The sky is the limit here for a creative Moodle admin!! | ||
===2. | ===2. Gaitu Fitxategi-sistema biltegiaren plugina=== | ||
You do this in the Settings block, under Site Administration > Plugins > Repositories > Manage repositories >File system. | You do this in the Settings block, under Site Administration > Plugins > Repositories > Manage repositories >File system. | ||
27. lerroa: | 27. lerroa: | ||
Alternatively, you will now see "File system" in the list of links in Plugins > Repositories. Click on this link, will also take you to the settings page. | Alternatively, you will now see "File system" in the list of links in Plugins > Repositories. Click on this link, will also take you to the settings page. | ||
===3. ( | ===3. (Aukeran) Set up the personal repositories=== | ||
Still in the File system settings page: | Still in the File system settings page: | ||
You can safely ignore the settings at the top. These are for rare cases where you want to allow users to create their own virtual repositories from the filesystem, either for themselves or a course. | You can safely ignore the settings at the top. These are for rare cases where you want to allow users to create their own virtual repositories from the filesystem, either for themselves or a course. | ||
38. lerroa: | 38. lerroa: | ||
# Click save | # Click save | ||
===5. | ===5. Aztertu baimenak=== | ||
Although permissions should be on by default, you may have to check the roles and make sure that the "Authenticated User" role (or some other role, if you have set up a special one) has the "repository/filesystem:view" capability allowed. | Although permissions should be on by default, you may have to check the roles and make sure that the "Authenticated User" role (or some other role, if you have set up a special one) has the "repository/filesystem:view" capability allowed. | ||
44. lerroa: | 44. lerroa: | ||
(If you are using 2.0 Preview 1 then this was not on by default) | (If you are using 2.0 Preview 1 then this was not on by default) | ||
===6. | ===6. Erabili!=== | ||
Everything should be working. If you try to add a file in Moodle, then the File Picker should show you your new file system repository, and you should be able to browse it and select files to use. | Everything should be working. If you try to add a file in Moodle, then the File Picker should show you your new file system repository, and you should be able to browse it and select files to use. | ||
52. lerroa: | 52. lerroa: | ||
[[Image:Repository-filesystem-filepicker.png]] | [[Image:Repository-filesystem-filepicker.png]] | ||
== | ==Ikusi halaber== | ||
* [http://moodle.drupalgardens.com/article/tue-06152010-1918/ftp-files-moodle-20-repository-api FTP files into Moodle 2.0 with the repository API article from moodle.drupalgardens.com] including screencast | * [http://moodle.drupalgardens.com/article/tue-06152010-1918/ftp-files-moodle-20-repository-api FTP files into Moodle 2.0 with the repository API article from moodle.drupalgardens.com] including screencast | ||
58. lerroa: | 58. lerroa: | ||
[[Category:Biltegiak]] | [[Category:Biltegiak]] | ||
[[Category:Fitxategiak]] | [[Category:Fitxategiak]] | ||
[[en:File_system_repository_configuration]] | [[en:File_system_repository_configuration]] |
Hauxe da oraingo bertsioa, 11:02, 1 Otsaila 2011 data duena
Oharra: Itzuli gabekoak. Anima zaitezte eta ekin!. (itzuli gabeko beste orri batzuk)
Nola erabili fitxategi-sistema biltegi gisa
This module allows you to share any of the sub-directories found in $CFG->dataroot/repository as a browseable repository inside Moodle.
It needs to be configured by a system administrator, because it requires write access to the system disk.
Here is a video that may be helpful.
1. Sortu hainbat karpeta, biltegi izateko
Inside your "Moodledata" directory (the one where all your data is stored), create one called "repository".
Inside that, make one folder for each repository you want to create. Short, simple, one-word names are best, I'm going to use "clipart" as my example.
Inside your "clipart" folder put your files (in this example it could be hundreds of useful images that you got from openclipart.org).
Note that these directories can be ANYTHING your operating system supports. You could mount a whole hard drive there, or mount a shared Windows network drive via SAMBA. You could have a symbolic link to a directory that allows FTP access. The sky is the limit here for a creative Moodle admin!!
2. Gaitu Fitxategi-sistema biltegiaren plugina
You do this in the Settings block, under Site Administration > Plugins > Repositories > Manage repositories >File system.
Once enabled, click on the "Settings" link beside it.
Alternatively, you will now see "File system" in the list of links in Plugins > Repositories. Click on this link, will also take you to the settings page.
3. (Aukeran) Set up the personal repositories
Still in the File system settings page: You can safely ignore the settings at the top. These are for rare cases where you want to allow users to create their own virtual repositories from the filesystem, either for themselves or a course.
4. Create some actual usable repositories (instances)
In settings at the bottom of the page
- Click on "Add a repository instance".
- Give it a name. The name will display in the File picker interface with the other repository areas.
- Choose the appropriate subdirectory from the list.
- Click save
5. Aztertu baimenak
Although permissions should be on by default, you may have to check the roles and make sure that the "Authenticated User" role (or some other role, if you have set up a special one) has the "repository/filesystem:view" capability allowed.
(If you are using 2.0 Preview 1 then this was not on by default)
6. Erabili!
Everything should be working. If you try to add a file in Moodle, then the File Picker should show you your new file system repository, and you should be able to browse it and select files to use.
Note that file types are respected (based on file extensions), so if you are adding an image in the editor, then you won't see Office docs (for example) appear in the File Picker.
Fitxategi:Repository-filesystem-filepicker.png