Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(2 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Feature Requests

How relative URLs are interpreted in course Announcements


You must be signed-in to post.

AuthorSubject
  Page: 1
peter
Subject: How relative URLs are interpreted in course AnnouncementsQuote this post in your reply
This is one of those "is this a bug or a feature" kind of thing.

Right now, if I have a relative URL on an announcement, e.g., "<a href="adocument.doc">",
the full path will become "http://www.hostname.com/atutor/adocument.doc".

This is problematic because I often need to refer to a document uploaded to the course work space, so the "adcoument.doc" is at
www.hostname.com/atutor/33/content/adocument.doc".

A relative URL on a course content page is expanded to something like that, why should an annoucement be different?

I know that I could always use an absolute path, but that means I forfeit all the advantages of using relative paths.

I propose that relative URLs in annoucements be interpreted the same as it would in a course content page.

Peter
Posted: 2004-06-11 23:54:57
joel

Avatar for joel
Subject: How relative URLs are interpreted in course AnnouncementsQuote this post in your reply
Peter

You are correct. The announcements page should be relative to the /content/[course-id]/ directory as well. It may have been like this previously, but was accidentally removed in the 1.4 release.

This will be added to the upcoming 1.4.1 release.
Posted: 2004-06-14 11:37:12
 Page: 1

You must be signed-in to post.