Problem to open pdf inside the browser (all browsers)

Phoca Download - download manager
randymorgado
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Dec 2013, 08:29

Problem to open pdf inside the browser (all browsers)

Post by randymorgado »

Hi. I have the following problem that I can not solve.

When you upload a pdf and a user tries to open it, it does not open within the browser. Just download it. I need the pdf to open within the browser.

I tried with blank and self options but no change between one or the other.

I know some will say it depends on the browser, but all browsers download pdf.

example:
munialtodelcarmen.cl/index.php/transparencia/category/290-periodo-2013

Thanks
Randy
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem to open pdf inside the browser (all browsers)

Post by Jan »

Hi, on the site, there is only "download" button, which forces the download, to preview the pdf, you should enable displaying of preview button:
https://www.phoca.cz/documentation/categ ... -component
Jan
If you find Phoca extensions useful, please support the project
randymorgado
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Dec 2013, 08:29

Re: Problem to open pdf inside the browser (all browsers)

Post by randymorgado »

Yes, it's work!

Thanks...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem to open pdf inside the browser (all browsers)

Post by Jan »

Great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply