Forums » Customize

Other file formats

Mi
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?

Vaska A
I WROTE THIS
2007-09-21 21:52:54
 

We're going to add more formats to the Files Manager very soon now. Strahler made a nice note about this just today.

http://www.indexhibit.org/forum/thread/399/

strahler70
NETHERLANDS
2007-09-22 09:04:10
 

/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

Mi
UNITED KINGDOM
2007-09-22 17:49:45
 

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?

strahler70
NETHERLANDS
2007-09-23 10:36:19
 

Do you have a link so i can check if that happens here as well?

Mi
UNITED KINGDOM
2007-09-23 22:05:23
 

The link is:

http://www.michaelday.org.uk/works/instructional-media/

Thanks in advance for any help.

Vaska A
I WROTE THIS
2007-09-24 01:32:52
 

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?

strahler70
NETHERLANDS
2007-09-24 07:56:54
 

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.

Mi
UNITED KINGDOM
2007-09-24 11:50:34
 

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

Vaska A
I WROTE THIS
2007-09-24 12:36:02
 

Merci...those links are a big help to spreading the word. ;)

Showing 1 - 10 of 10 posts in Forum > Customize > Other file formats
 

You need to be logged in to post.