Creating Direct Link=Yes for 466 pdf files

Phoca Download - download manager
jrl
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Mar 2015, 02:53

Creating Direct Link=Yes for 466 pdf files

Post by jrl »

I am looking for an efficient way to set Direct Link to "Yes" for 466 PDF files I have uploaded via Phoca Download.

I multiple-added these PDFs, and then realized I couldn't multiple change/edit the Direct Link on the files. So, I really don't want to manually edit all 466 file entries with the Files window if I can do something quicker (and more efficient).

I am currently using version 3.0.6

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

Re: Creating Direct Link=Yes for 466 pdf files

Post by Jan »

Hi, I think, the best way is to run one sql query in your database:

UPDATE your-prefix_phocadownload SET directlink = 1;

Jan
If you find Phoca extensions useful, please support the project
jrl
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Mar 2015, 02:53

Re: Creating Direct Link=Yes for 466 pdf files

Post by jrl »

Excellent. I did this with phpMyAdmin. It worked.

Thank you.

jrl
Post Reply