Page 1 of 1
Phoca download button addition info fields
Posted: 11 Jul 2016, 11:30
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?
Re: Phoca download button addition info fields
Posted: 11 Jul 2016, 13:45
by Jan
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
Re: Phoca download button addition info fields
Posted: 11 Jul 2016, 13:51
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?
Re: Phoca download button addition info fields
Posted: 11 Jul 2016, 14:14
by Jan
Hi, the code needs to be directly modified in the php file
Jan
Re: Phoca download button addition info fields
Posted: 14 Jul 2016, 10:19
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

Re: Phoca download button addition info fields
Posted: 15 Jul 2016, 01:38
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
Jan