Adding play button to file view

Phoca Download - download manager
Suge1w
Phoca Member
Phoca Member
Posts: 18
Joined: 07 May 2013, 21:46

Adding play button to file view

Post by Suge1w »

Great component first of all. I wish to add a play button to the file view. Is there to do this?

-Mark
Suge1w
Phoca Member
Phoca Member
Posts: 18
Joined: 07 May 2013, 21:46

Re: Adding play button to file view

Post by Suge1w »

Anyone have any ideas about this?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Adding play button to file view

Post by Jan »

Hi, no there is no such option, so this needs to be customized directly in the code. Copy the behaviour from category view to file view. :idea:

Jan
If you find Phoca extensions useful, please support the project
RFAwebmaster
Phoca Member
Phoca Member
Posts: 14
Joined: 22 May 2013, 20:16
Location: Oregon, USA

Re: Adding play button to file view

Post by RFAwebmaster »

Jan wrote:Hi, no there is no such option, so this needs to be customized directly in the code. Copy the behaviour from category view to file view. :idea:

Jan
I have a similar question. I see the PLAY/PREVIEW buttons that show up in the "List of Files (Category View)" Menu Item Type that show/play files stored in the phocadownloadap folder. I am trying to get those same PLAY/PREVIEW buttons in the "File View" Menu Item Type.

If I understand your above advice, we should copy
{pdfiledesctop} {pdfile}
{pdbuttondownload}
{pdbuttondetails}
{pdbuttonpreview}
{pdbuttonplay}
{pdmirrorlink2} {pdmirrorlink1}
{pdrating}
{pdtags}
{pdfiledescbottom}

from the Category View Layout box in the Phoca Download Layout page, and paste it into the File View Layout?
I tried this, and there is a play button in the Category View, but no play button in File View.

Joomla!2.5, Phoca Download 2.1.9
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Adding play button to file view

Post by Jan »

Hi, see the layout area in administration - not all parts can be set in all views. There is set which parts you can paste to each view.

Jan
If you find Phoca extensions useful, please support the project
imke2u
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Jun 2012, 09:26

Re: Adding play button to file view

Post by imke2u »

Hi Jan,

we''d like to show a preview button on single file view as well. Could you do a custom job for us? Maybe you could give me a quote and a timeframe.

Cheers,
Imek
Post Reply