Problems downloading downloadable PDFs from Ez 3.4 - always open/save dialogue

Problems downloading downloadable PDFs from Ez 3.4 - always open/save dialogue

Tuesday 21 September 2004 10:44:38 am - 3 replies

Author Message

Kåre Køhler Høvik

Wednesday 22 September 2004 12:32:28 am

The HTTP setting eZ publish uses for PDFs are defined here : lib/ezutils/classes/ezmimetype.php
Default : application/pdf

Try to see if your webserver return the same mimetype for linked files.

Kåre Høvik

Björn Dieding@xrow.de

Wednesday 22 September 2004 7:35:04 am

Change header:

Content-Disposition: attachment

to

Content-Disposition: inline

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

steve walker

Wednesday 22 September 2004 9:19:49 am

Björn and Kåre,

Thanks for the help - I now have this working.

Have changed to "Content-Disposition: inline" - FYI, the file I adjusted was ezfilepasstroughhandler.php found in kernel/classes/binaryhandlers/ezfilepasstrough

PDFs now open inside the browser :-)

Steve.

http://www.oneworldmarket.co.uk

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.