URL allows you to create a link to a website or online file.
(The video above is taken from the Totara Academy course on Course resources).
Adding a URL
- Click Turn editing on.
- Click Link to a file or website from the Add a resource menu.
- Enter a name for your resource, this appears on the course page for the learner.
- Enter the web page URL or click Search for a website to find the webpage.
- Complete the remaining settings to your preferences.
- Click Save changes.
|Name||A name for the URL resource, this will be displayed on the course page.||-|
|External URL||The URL you wish to add.||-|
|Description||A description of the URL, might include instructions or guidance on why the URL is useful.||-|
|Display description on course page||If enabled, the description above will be displayed on the course page just below the link to the activity or resource.||-|
This setting, together with the URL file type and whether the browser allows embedding, determines how the URL is displayed. Options may include:
|Pop-up width (in pixels)||If you have chosen the In pop-up display option then you can set the size of the window.||-|
|Pop-up height (in pixels)||If you have chosen the In pop-up display option then you can set the size of the window.||-|
|Display URL description||Choose whether to display the URL description for the In frame or Embed display options.||-|
Some internal Totara variables may be automatically appended to the URL. Type your name for the parameter into each text box and then select the required matching variable.
There are a number of ¶meter=variable fields for you to enter the variable name into, with a dropdown menu alongside it to select the varibale (such as course id, user fullname and URL cmid).
|Common module settings||See the Common module settings help page for more information.||-|
|Restrict access||See the Restrict access help page for more information.||-|
|Activity completion||See the Activity completion help page for more information.||-|
|Tags||See the Tags help page for more information.||-|
If you go to Site administration > Plugins > Activity modules > URL you can configure the site wide settings and defaults.
Remember to click Save changes once you are finished.
When a web page or an uploaded file is displayed within a frame, this value is the height (in pixels) of the top frame (which contains the navigation).
This secret phrase is used to produce encrypted code value that can be sent to some servers as a parameter. The encrypted code is produced by an md5 value of the current user IP address concatenated with your secret phrase. ie code = md5(IP.secretphrase). Please note that this is not reliable because IP address may change and is often shared by different computers.
Enable if you want to include localized role names in list of available parameter variables.
Select all options that should be available, existing settings are not modified. Hold CTRL key to select multiple fields.
Display URL description below content? Some display types may not display description even if enabled.
Choose display type, unfortunately not all types are suitable for all URLs.
Specifies default width of popup windows.
Specifies default height of popup windows.
You can also go to Experimental settings and enable dragging and dropping of text and links onto a course page. If enabled, when a link is dropped on the page Totara will offer to add it to the course as a URL.