UNITED KINGDOM
2007-09-21 16:42:46
I want to make a few .pps files available for download on my site. How can I go about this?
I want to make a few .pps files available for download on my site. How can I go about this?
We're going to add more formats to the Files Manager very soon now. Strahler made a nice note about this just today.
/ndxz-studio/defaults.php
at line 80, change:
$uploads['files'] = array('txt', 'pdf', 'doc', 'xls');
into
$uploads['files'] = array('txt', 'pdf', 'doc', 'xls', 'pps');
I think that should be it since all files that isn't a movie, an audio, a flash or an image file is embedded with the same javascript function (ModInsFile) in /ndxz-studio/modules/system/files.php
I'm still having difficulty with this after making the changes above. When you click on the link to download, it opens the .pps as text in the browser window, and when you right-click to save the linked file, the .pps gets suffixed as .txt, ie the filename is changed to MyPowerpoint.pps.txt.
Is this something specific to Safari? Any further advice?
Do you have a link so i can check if that happens here as well?
The link is:
http://www.michaelday.org.uk/works/instructional-media/
Thanks in advance for any help.
The problem is the format...the browser does not understand what to do with it. Users need to be told to shift right click control whatever to download the file.
Why can't they be PPT format?
http://www.pptfaq.com/FAQ00185.htm
No link back to Indexhibit?
I think Vaska is correct although i was briefly thinking about server-side MIME type issues. Safari does indeed do not know what to do with it but Firefox does so it looks like a browser issue. However it is possible to pull this off by forcing it to download (with for instance PHP) but that you have to DIY (see here). You could also alternatively offer zipped versions of those files.
Thanks for all your help. I think zipped versions is the way to go for me. I'll also add a link to indexhibit - an oversight on my part.
Thanks all
m
Merci...those links are a big help to spreading the word. ;)
You need to be logged in to post.