preview files

Phoca Gallery - image gallery extension
rodrigoJumper
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Apr 2020, 22:01

preview files

Post by rodrigoJumper »

Hi everyone,


I have 2000 files and I want everyone to have the preview button without having to do it 1 by 1, how can I do it?


thank you
rodrigoJumper
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Apr 2020, 22:01

Re: preview files

Post by rodrigoJumper »

hi everyone
I have 2000 files and I want everyone to have the preview button without having to do it 1 by 1, how can I do it?
please help me, because i dont know how can i do it,

it is not functional to preview it file by file
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: preview files

Post by Benno »

Hi,
which preview button are you talking about?
Are you sure you mean Phoca Gallery and not Phoca Download? In Phoca Download there is a preview button, but not in Phoca Gallery ....
Is this the button you are talking from:
Image
If not, please post a screenshot of what you mean. :idea:

Kind regards,
Benno
rodrigoJumper
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Apr 2020, 22:01

Re: preview files

Post by rodrigoJumper »

Ohhh yes my friend, its from Phoca Download
, and its only for pdf couments
rodrigoJumper
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Apr 2020, 22:01

Re: preview files

Post by rodrigoJumper »

im using Phoca Download, and its only previes files for type pdf document, i know how i can do this, but i have 2000 files,

it is not functional to preview it file by file, i dont know if there is a file .php
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: preview files

Post by Benno »

Hi,
I have 2000 files and I want everyone to have the preview button without having to do it 1 by 1, how can I do it?
I don't know any other way then 1 by 1, but if you are familiar with MySQLi queries, you may be able to create a query that does this for all 2000 files directly in the database. (Unfortunately I'm not...) :(

Kind regards,
Benno
rodrigoJumper
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Apr 2020, 22:01

Re: preview files

Post by rodrigoJumper »

thank you my friend, yes im have knoledge of mysql, but i dont know how can i implements in joomla.
thanks a lot
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: preview files

Post by Jan »

Another way can be using a content plugin in description of the file. This means that you will e.g. manage your images in gallery extension like Phoca Gallery is and paste the images to Phoca Download description per content plugin.

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