As of August 1st, 2008, the Edutech web site will no longer be updated. Edutech was funded by the Swiss Virtual Campus programme, which ended on July 31st, 2008. Some activities will be taken over by the e-Learning Services group at the SWITCH foundation.

Linking to Files and Tools in Vista

Introduction

Keywords: Vista, manage files

This page provides you with a step by step instruction to create html links pointing to files or to tools in Vista. Further information can be found in Part 4, Chapter 17, Sect: "File Manager", Designers and Instructors Reference, Vista 4 p. 325 (pdf, 2.3 MB) . Get UN & PW at edutech Vista Support.

Table of Content

Relative Hyperlinks among Files in File Manager

If you are an experienced creator of HTML pages, you know that you can link pages among themselves using relative paths. These links will also work inside a Vista course, if the relative path between the files has not been changed. You would also know that relative links to files in the same folder only require to use the file names. However, when linking to a file in another folder, there are two key navigational commands to remember: / and ../. The / command navigates to the parent folder of the current folder.

Example:<a href="subfolder/sub_subfolder/HTML3.html">Link to HTML3</a>.

It is recommended, that you only use relative links between your files, since this will guaranty you that these links will also work inside Vista. Even more so, since that will also allow you to use these files in courses derived from templates. If you normally use absolute links between files on a server among files on that server, these links will no longer work when you upload the corresponding files into Vista.

Using relative links also allows you to create HTML content using your own HTML editor on your computer and then upload the files to File Manager. You can select any uploaded file as a content file and as long as you create the same folder structure in the template.

If with your link you plan to use the target attribute (for example, target="_blank"), or if you want to create this link from a Vista text field, you will have to create the relative links with reference to the root folder. The root folder for relative links in Vista's File Manager for template designers is the template folder and for Section Designers is the Section Content folder. For those links in Vista it is required that you type RelativeResourceManager/Template/ before the file name.

Example: In a discussion message, if you want to link to an HTML file in the template or Section content folder, you would use a tag similar to the following:
<a href="RelativeResourceManager/Template/HTML_File.html">Link to HTML File in the template or Section Content folder</a>.

Example: In a content file, if you want to link to an HTML file in the template or Section Content folder and specify that the file will open in a new window, you would use a tag similar to the following:
<a href="RelativeResourceManager/Template/HTML_File.html" target="_blank">Link to HTML File in the template or Section Content folder</a>.

Example: In a mail message, if you want to link to an image file in a subfolder of the template or Section Content folder, such as a folder named Images, you would use a tag similar to the following:
<a href="RelativeResourceManager/Template/Images/Image_File.gif">Link to Image File in the Images subfolder in the template or Section Content folder</a>.

Note: If you create this relative link using Vista's HTML creator, "RelativeResourceManager" will automatically be added to the path.

Click image to start animation
Animated image for linking with the HTML-Creator
Refresh screen to stop animation

Absolute Hyperlinks to Tools in Vista

All Vista tools possess absolute addresses. Designer can find these absolute addresses in clicking with the right mouse button onto the icon of the target tool. The link address will be indicated in the Properties-menu. You can than use this URL to create a HTML-Link in a HTML-page or a text field inside the section.

Warning: This procedure is only valid inside the one instance of the section where you found the address. Such links will not work in copies of this section nor if you use them in templates and copies of these templates since the addresses of these sections change with each copy!

Absolute Hyperlinks to Files in Vista

All files in Vista possess absolute addresses. Designer can find these absolute addresses in clicking - in the File Manager - with the right mouse button onto the link of the target file

Note: To use such an absolute file address for access from outside Vista, please consult the paragraph below.

Outside Access to Files in Vista without authentification

An Institution (and Group) Administrator can make files in the File Manager accessible to the Internet if she or he possesses the editing rights for the target file. In that case the Institution (and Group) Administrator changes the settings of the target file to "system public".

Author: Andreas Röllinghoff
Modified  16.5.06
Edutech Vista Learning Object