Page 2 of 2

Re: I can't get the PDFs to preview before downloading

Posted: 13 Nov 2017, 16:53
by Jan
Hi, first try to set it in options - in edit of the file:

Direct Link: Yes.

Jan

Re: I can't get the PDFs to preview before downloading

Posted: 14 Nov 2017, 01:23
by underwatercolours
OK, I found that, but doing this one at a time for hundreds of files will make me crazy. Is there any batch way to do this?

Re: I can't get the PDFs to preview before downloading

Posted: 18 Nov 2017, 14:20
by Jan
Hi, I think the best way is to do it directly in the database, e.g. in phpMyadmin, set Yes (1) for all the items (if all should be changed)

Code: Select all

UPDATE #__phocadownload SET directlink = 1;
(didn't test it yet, so make an backup of database before running this query, and don't forget to replace #__ to your database prefix)

Be awary this SQL changes every items to direct link (there is no where clause)

Jan