Phoca download button addition info fields

Phoca Download - download manager
zamuza
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 11 Jul 2016, 10:16

Phoca download button addition info fields

Post by zamuza »

Hello, we use latest phoca download component/plugin/button and there is a problem here. Sometimes we need to display upload date of file in file list, using phoca download button. Could you explain how to do this?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca download button addition info fields

Post by Jan »

Hi, if you need to display the date in plugin, then the plugin needs to be customized - the data loaded and rendered. :idea: As default, the upload date is not displayed.

Jan
If you find Phoca extensions useful, please support the project
zamuza
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 11 Jul 2016, 10:16

Re: Phoca download button addition info fields

Post by zamuza »

Ok, thanks!) I can't find any settings for this in plugin, so i need to add some code to layout file? What exactly should i do?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca download button addition info fields

Post by Jan »

Hi, the code needs to be directly modified in the php file :-(

Jan
If you find Phoca extensions useful, please support the project
zamuza
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 11 Jul 2016, 10:16

Re: Phoca download button addition info fields

Post by zamuza »

Jan wrote:Hi, the code needs to be directly modified in the php file :-(

Jan
Jan, could you help me and explain , what file i need to modify etc? Please :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca download button addition info fields

Post by Jan »

Hi, it is hard to explain something I didn't do before, unfortunately, I didn't such customization yet, so cannot give any exact advice :-(

the code is here:
plugins/content/phocadownload/phocadownload.php
:idea:

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