Note: You are currently viewing documentation for Moodle 3.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Folder resource settings.

Folder resource settings: Difference between revisions

From MoodleDocs
m (→‎Display folder contents: removing 2.5.2 note)
 
(33 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Folder}}
{{Folder}}
<p class="note">'''Please refer to [[Page_notes#Folder|these notes]] before editing this page.'''</p>
 
==Adding a folder to your course==
==Adding a folder to your course==
*With the editing turned on, select "Add a resource" in the section you want your folder:


[[File:Folder.png]]
Note: Folders you wish to upload to Moodle have to be "zipped" or "compressed" first. The way you do this depends on your computer and operating system.
 
If you already have a folder of files you would like to display, there are two methods:
 
====Quick method====
 
#Click the 'Turn editing on' button at the top right of the course page
#Drag and drop the folder onto the course section where you'd like it to appear
#Click the button of the action you would like to take with the folder (in our case, "Unzip") and click "Upload"
#If necessary, edit the title of the folder by clicking the pencil icon
 
{|
| [[File:folderdragging.png|thumb|2. Drag and drop folder]]
| [[File:folderaction.png|thumb|3. Uploading the folder]]
|}
 
====Longer method====
 
#Click the 'Turn editing on' button at the top right of the course page
#Click 'Add an activity or resource' link, then in the activity chooser; select folder then click the "Add" button (or select folder from the "Add a resource" dropdown menu) All settings may expanded by clicking the "Expand all" link top right.
{|
|[[File:foldergeneral.png|thumb|General settings expanded by default]]
|[[File:foldercontent.png|thumb|Content settings expanded by default]]
|}
 
#For''' General''', add  name and a description (which may be required or optional according to the admin settings)Click "Show editing tools" to display the rich text editor and drag the bottom right of the text box out to expand it. Enabling 'Display description on course page' will show it just below the link to the folder.
# For '''Content,''' either drag and drop a zipped/compressed folder into the box with an arrow or click the Add button to open the [[File picker]] menu in order to choose a file from your computer or a repository.
#When the folder thumbnail appears, click on it and select "Unzip":
{|
| [[File:newfolderupload.png|thumb|Unzipping a folder]]
|}


*Select the Folder option.
#Click the original (zipped) folder and click the "Delete" button to delete it if you wish
*In the next screen, give your folder a name. (This will appear as the name on the course page.)
#Select how you want to [[#Display folder contents |display your folder contents]], your [[Common module settings]] and, if enabled, [[Restrict access settings]] and [[Activity completion]] and click "Save and return to course"
*Add a description if desired. (Note: By default, descriptions are required but they can be turned off by admin.)
#Click the button 'Save and return to course' at the bottom of the page
*Now decide if you are uploading a pre-made folder from your computer or creating an empty folder to fill later.


===Creating and uploading to a new folder===
==Creating and uploading to a new folder==
*Click "Create folder" and in the box that appears, give the folder a name.
Use this method if  you want to create a folder on your Moodle course and then upload files into it.
*Click "OK"


[[File:Createfolder.png]]
# Click the 'Turn editing on' button at the top right of the course page
# Click 'Add an activity or resource' link, then in the activity chooser; select folder then click the "Add" button (or select folder from the "Add a resource" dropdown menu)
# Enter a name and a description (which may be required or optional according to the admin settings)
# Click the "Create folder" link as below; choose a name for your new folder and then click "Create folder"
# Click INTO the folder
# You can then add individual files into the folder either by dragging and dropping into the box (1 below) or clicking the "Add" (2 below) to upload files from  the [[File picker]]  
# Choose how you want to display your folder contents, your [[Common module settings]] and, if enabled, [[Conditional activities settings]]
# Click "Save and return to course"


*Click on the name of the new folder to get inside it.
{|
*Click the "Add" button to upload files into this folder.
| [[File:createfolder.png|thumb|4. Creating a folder]]
| [[File:addtofolder.png|thumb|6. Adding files to a folder]]
|}


[[File:Addfilestofolder.png]]
==Display folder contents==


*For more information on file uploading, see [[File_picker|here]]
Decide here whether to have the folder displayed on a separate page (the default) or inline with or without subfolders expanded or collapsed.
*For each new file you wish to add to the folder, click the "Add button"
*Leave Common Module settings at "show" if you wish the folder to be visible.
*Click "Save and return to course".


===Uploading a folder you have on your computer===
{|
*Note: Folders you wish to upload to Moodle have to be "zipped" or "compressed" first. The way you do this depends on your computer and operating system.
| [[File:folder1.png|thumb|Folder displayed on separate page]]
*Click the "Add" button and upload your zipped folder:
| [[File:folder2.png|thumb|Folder displayed inline]]
| [[File:folder3.png|thumb|Folder displayed inline with subfolders expanded]]
|}


[[File:Addzip.png]]
==Folder capabilities==


* For more information on uploading files and folders see [[File_picker| here]]
*[[Capabilities/mod/folder:view|View folder content]]
*Click the icon to the right of the zipped folder.
*[[Capabilities/mod/folder:managefiles|Manage files in folder module]]
*Select the "unzip" option.
*[[Capabilities/mod/folder:addinstance|Add new folder]]


[[File:Unzip.png]]
==Site administration settings==


*The folder will appear in its normal state.
The administrator can decide whether to show subfolders expanded or not by default sitewide in ''Site administration > Plugins > Activity modules > Folder''.
*To delete the original zipped folder, click the icon to its right and select the "delete" option.


[[File:Delete.png]]
==See also==
* [http://youtu.be/MQpV4WUxigk The Moodle Folder Resource] MoodleBites video on YouTube
*[http://youtu.be/ZPaVskLCRb4 Moodle 2 file management] MoodleBites video on YouTube


*Leave Common module settings at "show" to ensure the folder is visible on the course page.
[[de:Verzeichnis konfigurieren]]
*Scroll down and click "Save and return to course".
[[es:Configuraciones del recurso carpeta]]

Latest revision as of 08:23, 16 February 2016


Adding a folder to your course

Note: Folders you wish to upload to Moodle have to be "zipped" or "compressed" first. The way you do this depends on your computer and operating system.

If you already have a folder of files you would like to display, there are two methods:

Quick method

  1. Click the 'Turn editing on' button at the top right of the course page
  2. Drag and drop the folder onto the course section where you'd like it to appear
  3. Click the button of the action you would like to take with the folder (in our case, "Unzip") and click "Upload"
  4. If necessary, edit the title of the folder by clicking the pencil icon
2. Drag and drop folder
3. Uploading the folder

Longer method

  1. Click the 'Turn editing on' button at the top right of the course page
  2. Click 'Add an activity or resource' link, then in the activity chooser; select folder then click the "Add" button (or select folder from the "Add a resource" dropdown menu) All settings may expanded by clicking the "Expand all" link top right.
General settings expanded by default
Content settings expanded by default
  1. For General, add name and a description (which may be required or optional according to the admin settings)Click "Show editing tools" to display the rich text editor and drag the bottom right of the text box out to expand it. Enabling 'Display description on course page' will show it just below the link to the folder.
  2. For Content, either drag and drop a zipped/compressed folder into the box with an arrow or click the Add button to open the File picker menu in order to choose a file from your computer or a repository.
  3. When the folder thumbnail appears, click on it and select "Unzip":
Unzipping a folder
  1. Click the original (zipped) folder and click the "Delete" button to delete it if you wish
  2. Select how you want to display your folder contents, your Common module settings and, if enabled, Restrict access settings and Activity completion and click "Save and return to course"
  3. Click the button 'Save and return to course' at the bottom of the page

Creating and uploading to a new folder

Use this method if you want to create a folder on your Moodle course and then upload files into it.

  1. Click the 'Turn editing on' button at the top right of the course page
  2. Click 'Add an activity or resource' link, then in the activity chooser; select folder then click the "Add" button (or select folder from the "Add a resource" dropdown menu)
  3. Enter a name and a description (which may be required or optional according to the admin settings)
  4. Click the "Create folder" link as below; choose a name for your new folder and then click "Create folder"
  5. Click INTO the folder
  6. You can then add individual files into the folder either by dragging and dropping into the box (1 below) or clicking the "Add" (2 below) to upload files from the File picker
  7. Choose how you want to display your folder contents, your Common module settings and, if enabled, Conditional activities settings
  8. Click "Save and return to course"
4. Creating a folder
6. Adding files to a folder

Display folder contents

Decide here whether to have the folder displayed on a separate page (the default) or inline with or without subfolders expanded or collapsed.

Folder displayed on separate page
Folder displayed inline
Folder displayed inline with subfolders expanded

Folder capabilities

Site administration settings

The administrator can decide whether to show subfolders expanded or not by default sitewide in Site administration > Plugins > Activity modules > Folder.

See also