Hi,
I'm using Moodle 2.6 and I have a problem with opening .docx files in Internet Explorer:
When I add a .docx attachment to a assignment and click it I get the option to open it or download it.
If I choose open, the document opens in Word in Protected View mode.
If I click the enable editing button, the moodle login page opens inside Word (apparently because the user has no permission to edit the attachment):
So the point is I want to prevent this from happening. This situation can be avoided if the document is downloaded instead of opening it, but I want to completely remove the possibility of this happening.
I guess the best way would be to force the file to download (in moodle 1.9 I used the forcedownload=1 parameter), but I don't know how to do it in Moodle 2.6. There is a built-in option to force download for the "file" resource but this cannot be done for an attachment.
Any help on the topic is highly appreciated!
Samuli