Good evening everybody,
Please help to fix the following issue:
When I press the "Preview" button for PDF file, the download starts instead of preview - both in "Modal box" and "Standard Popup Window" modes.
I tested in different browsers and even on tablet - it works all the same.
Preview button forces download for PDF
-
- Phoca Newbie
- Posts: 5
- Joined: 09 Sep 2014, 15:17
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Preview button forces download for PDF
Hi, do you get the same problem when you use another browser or browsers?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 09 Sep 2014, 15:17
Re: Preview button forces download for PDF
Hi Jan,
Yes, as I told before, I tested in different browsers and even on tablet - it works all the same.
In fact, for my application I need only to preview these PDF files online in a separate window. I don't need the Download button at all.
2)**Just find a bug when adding new file to download: If I didn't fill the required "Filename" field and press "Save", all other info is lost when the warning is displayed.
Yes, as I told before, I tested in different browsers and even on tablet - it works all the same.
In fact, for my application I need only to preview these PDF files online in a separate window. I don't need the Download button at all.
2)**Just find a bug when adding new file to download: If I didn't fill the required "Filename" field and press "Save", all other info is lost when the warning is displayed.
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Preview button forces download for PDF
Hi,
- the download button needs to be disabled directly in the code - customized
2) hmm, testing now, get no such problem, which version you exactly use?
Jan
- the download button needs to be disabled directly in the code - customized
2) hmm, testing now, get no such problem, which version you exactly use?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 09 Sep 2014, 15:17
Re: Preview button forces download for PDF
Hi Jan,
Download instead of Preview still persists - please help to fix!
Please take a look at it: http://download-demo.cloudaccess.net/in ... view-error
I put a video 1-Download-instead-of-Preview.wmv about this issue in /images folder of the above site - will send you the pwd by private message.
2) Concerning erasing all input after warning message - please see 2-Empty-fiields-after-warning.wmv in the same directory.
I'm using Joomla 3.3.3 and com_phocadownload_v3.0.5.zip.
Thank you in advance!
Download instead of Preview still persists - please help to fix!
Please take a look at it: http://download-demo.cloudaccess.net/in ... view-error
I put a video 1-Download-instead-of-Preview.wmv about this issue in /images folder of the above site - will send you the pwd by private message.
2) Concerning erasing all input after warning message - please see 2-Empty-fiields-after-warning.wmv in the same directory.
I'm using Joomla 3.3.3 and com_phocadownload_v3.0.5.zip.
Thank you in advance!
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Preview button forces download for PDF
Hi, I see:
1) this seems like you have some specific program on your PC
I have tested it on different PCs and mobiles (your site) and get standard preview of the file 
2) yes, this is right behaviour - if you set "save and new" - it will say you that the first file item could not be saved because of missing parameter but then it is redirected to new file item - so you should use "save" only button
Jan
1) this seems like you have some specific program on your PC


2) yes, this is right behaviour - if you set "save and new" - it will say you that the first file item could not be saved because of missing parameter but then it is redirected to new file item - so you should use "save" only button

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 09 Sep 2014, 15:17
Re: Preview button forces download for PDF
Hi Jan,
1) The trouble is the same on all computers at my work; Will try to fix with my sysadmin
Strange that the same computers can display such kind of preview from other, non-Joomla sites.
2) Now I understand the case, thank you for your answer!
1) The trouble is the same on all computers at my work; Will try to fix with my sysadmin

Strange that the same computers can display such kind of preview from other, non-Joomla sites.
2) Now I understand the case, thank you for your answer!
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Preview button forces download for PDF
Hmm, tested today with Firefox, Chrome and Opera, see image:

Really no problem, no idea what can be wrong there
Jan

Really no problem, no idea what can be wrong there

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 09 Sep 2014, 15:17
Re: Preview button forces download for PDF
Hi Jan,
I will explore the issue on work computers with sysadmin and will report you if we will find the bug.
Alex
I will explore the issue on work computers with sysadmin and will report you if we will find the bug.
Alex
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Preview button forces download for PDF
Ok
If you find Phoca extensions useful, please support the project