Phoca download button addition info fields
-
- Phoca Newbie
- Posts: 3
- Joined: 11 Jul 2016, 10:16
Phoca download button addition info fields
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?
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca download button addition info fields
Hi, if you need to display the date in plugin, then the plugin needs to be customized - the data loaded and rendered.
As default, the upload date is not displayed.
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 11 Jul 2016, 10:16
Re: Phoca download button addition info fields
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?
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca download button addition info fields
Hi, the code needs to be directly modified in the php file 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 11 Jul 2016, 10:16
Re: Phoca download button addition info fields
Jan, could you help me and explain , what file i need to modify etc? PleaseJan wrote:Hi, the code needs to be directly modified in the php file
Jan

- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca download button addition info fields
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

Jan

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

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