URL resource settings

URL


Contents


Add a URL resource to our course

  1. Turn editing on.
  2. From the the "Add an activity or resource" link (or, if not present, the "Add a resource" drop down menu),choose URL. All settings may expanded by clicking the "Expand all/Collapse all" link top right.


General


Appearance

For Display you have the following options. If you don't see an option, ask the administrator to enable it in Site administration >Plugins <Activity modules >URL. We can also have 'in frame' or 'New window' but these must be enabled by the administrator.


URL variables

This section allows us to pass internal information as part of the URL.

This is useful if the URL is actually an interactive web page that takes parameters, and you want to pass something like the name of the current user, for example.

Another use is to create stable links that updates in each iteration of the course, for example:

if you want to link to the student's user report, then you add the base URL to the External URL field, and then in the URL variables section, add 'id' to the first field and select 'id' from under the site heading, and then save changes. The result is a URL that always points to the student's user report.

A further use includes displaying all forums in a site, by using the base URL then adding add 'id' to the first field and selecting 'id' from under the site heading. Another use makes use of mailto:email@address. URL variables could then include the subject parameter followed by the 'Site full name'. E.g. if you wanted to email a teacher who taught multiple courses, if a student clicked the URL then the email would automatically fill the subject field, which would help the teacher to identify which course the student was in.


Common module settings

See Common module settings


Restrict access/Activity completion

(These settings are collapsed by default)

These settings are visible if Conditional activities and Activity completion have been enabled in the site and the course.


Drag and Drop a URL

Alternatively, if an administrator has enabled the experimental feature drag and drop upload of text/links in Settings > Site administration > Development > Experimental > Experimental settings, a link can be dragged into a section of the course and given a name, as shown in the images below.


URL module capabilities


Site administration settings

The URL module has additional settings which may be changed by an administrator in Administration > Site administration > Plugins > Activity modules > URL.


Frame height

Here we can specify the height of the top frame (containing the navigation) if you choose the "in frame" display option. Note:If your theme has a large header then the height should be increased to prevent horizontal and vertical scrollbars.


Password

Here we can add a password that will connect your users to a secure site. See this forum post for more details.


Include role names in parameters


Available display options

This setting allows us to add different ways the resource may be displayed on the course page. There are a number of defaults but we can add or change them here. Other display options are:


Default values for activity settings

Here we can set the defaults for this resource.


See Also