Hi, first try to set it in options - in edit of the file:
Direct Link: Yes.
Jan
I can't get the PDFs to preview before downloading
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: I can't get the PDFs to preview before downloading
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 19
- Joined: 08 May 2012, 22:51
Re: I can't get the PDFs to preview before downloading
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?
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: I can't get the PDFs to preview before downloading
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)
(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
Code: Select all
UPDATE #__phocadownload SET directlink = 1;
Be awary this SQL changes every items to direct link (there is no where clause)
Jan
If you find Phoca extensions useful, please support the project