File or website link
Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: File or website link.
When you are adding or editing a "file or web site" type of resource, you have to fill in the following fields:
A short name of the resource. This will be displayed on the course's homepage.
You may type the summary of the resource here. This will be displayed on the Resources page. The summary is also displayed below the Moodle navigation controls in the top frame, if the window settings are set to open the linked resource in frames.
Type in the url of the file or web page here. You may use the two buttons below to help you.
- Choose or upload a file... - If you click on this button, a popup window will appear with the course files. You will be able to browse the files and choose the one which you want to make available as a resource. If the file is not there you can upload it first.
- Search for web page... - If you click on this button, a popup window will appear with the Google search engine. You can use Google to search the web for a webpage which you want to make available as a resource.
These settings can be hidden/shown by clicking the button labeled Hide settings or Show settings.
Usually, resources are displayed in a normal framed window with the Moodle navigation controls in the top frame. If you choose, you can remove this frame and have the resource fill the window like a normal web page.
- Determine the size window you wish to open.
Many people still use an average screen resolution of 800x600. In most cases it's best if you initially size your window a little smaller than that, like 600 high and 480 wide.
If you leave these fields blank then the new popup window will be exactly the same size as the window they clicked on to get the popup.
Note: parameters are quite an advanced feature. Some knowledge of how web forms pass information to web pages is required.
The parameter settings are completely optional, and are only useful when you need to pass some Moodle information to the resource file or web site.
If you define any parameters they will be passed to the resource as part of the URL (using the GET method).
The left column allows you to choose information to send, and the right column allows you to give it a name.
Note that the user information will be from the user who is looking at this resource, and the course information is from the course that this resource is part of.
Visible to students
You can hide the resource from students by selecting "Hide" here. It is useful if you wouldn't like to make the activity available immediately.
- Overwriting resource files forum discussion