Phoca Download Plugin - Display File Size

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
dvwyngaa
Phoca Member
Phoca Member
Posts: 12
Joined: 26 Aug 2011, 14:18
Location: Johannesburg, South Africa
Contact:

Phoca Download Plugin - Display File Size

Post by dvwyngaa »

Hi,

I have Phoca Download and Phoca Download Plugin installed and working on Joomla 1.7.

My question: When using the Phoca download Plugin to display one file, can it display the file size in MB of that particular file? If so, how?

Thanks for the help in advance.

Kind Regards,

Dawid
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download Plugin - Display File Size

Post by Jan »

Hi, this needs to be customized in the code, the info about size must be loaded like it is loaded in component.

Jan
If you find Phoca extensions useful, please support the project
noctrex
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Nov 2012, 15:13

Re: Phoca Download Plugin - Display File Size

Post by noctrex »

Hello, I've made some changes to the Phoca Download Plugin in order to display file sizes.
Jan, can I submit a patch so you can update the plugin?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download Plugin - Display File Size

Post by Jan »

Hi, just send me it through the email. Thank you, Jan
If you find Phoca extensions useful, please support the project
noctrex
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Nov 2012, 15:13

Re: Phoca Download Plugin - Display File Size

Post by noctrex »

Jan wrote:Hi, just send me it through the email. Thank you, Jan
Unfortunately I cannot see anywhere any email to send you the zip file :/
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9449
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca Download Plugin - Display File Size

Post by Benno »

info[at]phoca[dot]cz

Kind regards,
Benno
wdburgdorf
Phoca Member
Phoca Member
Posts: 13
Joined: 20 Mar 2013, 00:57

Re: Phoca Download Plugin - Display File Size

Post by wdburgdorf »

Hi,

I need exactly the same thing, filesize next to each file. Is there an updated version of the plugin yet?
Thank you!

Regards, Ralf.

EDIT: I had a look at the component. It uses the filename to get the size. But the filename is not in the plugin item, and I don't see where else to get it from.
Post Reply