Description

when clicking a resource link created with new window option, if the resource file is pdf, xls or doc (may apply to others) the popup window is blank and the resource file is opened in its own window.

this is confusing for users

when creating a resource there should be a third option for files of type pdf, xls, doc (maybe others too) in which the resource link is a simple url with the attribute rel='external'. this avoids the blank popup appearing.

Attachments

Activity

I see that rel="external" is not standards compliant and works in FF2 but not IE7.

Another approach could be to extend the $resourcetype options in function display in resource.class.php to include eg $resourcetype='non_embedded_helper' (for mimetypes such as doc, xls, pdf). In these cases the display function could generate/ trigger a javascript window.location.href method rather than window.open

Gary Prosser
added a comment - 25/May/07 11:59 PM I see that rel="external" is not standards compliant and works in FF2 but not IE7.
Another approach could be to extend the $resourcetype options in function display in resource.class.php to include eg $resourcetype='non_embedded_helper' (for mimetypes such as doc, xls, pdf). In these cases the display function could generate/ trigger a javascript window.location.href method rather than window.open

We have detected that this issue has been inactive for over two years and also did not collect many votes. It is possible that it has been already implemented in a more recent version of Moodle, or it is not highly demanded. There are unlimited number of ways Moodle functinality can be expanded and improved but we would like to concentrate on the features that will benefit majority of users, and which can not be implemented as plugins. If you have a suggestion for improving Moodle core, and there is no open issue for it in the tracker, please start a new forum discussion to see how many other users agree with you, and then create a new issue providing as many details as possible.

Marina Glancy
added a comment - 21/Nov/14 4:28 PM We have detected that this issue has been inactive for over two years and also did not collect many votes. It is possible that it has been already implemented in a more recent version of Moodle, or it is not highly demanded. There are unlimited number of ways Moodle functinality can be expanded and improved but we would like to concentrate on the features that will benefit majority of users, and which can not be implemented as plugins. If you have a suggestion for improving Moodle core, and there is no open issue for it in the tracker, please start a new forum discussion to see how many other users agree with you, and then create a new issue providing as many details as possible.
==BLK2YIMP20141121==