News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

filesize_value for external file

Started by pierrick, 18.10.2015 15:04:07

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pierrick

How can I manage a layout for both internal and external files ? The idea is to have placeholder {filesize_value} valorized just for internal files, and by consequence to prevent this placeholder to systematically be valorized to "0 B" for external file ...
  •  

ColinM

Hi
When I select an external file jD finds the size OK, so at present I am unable to replicate! :(

Colin
Colin M
  •  

pierrick

I was thinking to size outside of my site (for example a Youtube link that cannot be sized be definition).

Placeholder {filesize_value} should be null in this case, instead of being equal to "0 B".



I manage to remove them using a Jquery function, but it should be optimized.
  •  

ColinM

Hi
I see what you mean!.  jD automatically puts in a 0 B into the size field but in the code it tests for a null.

Will start a new topic as a bug to summarise this topic
Colin
Colin M
  •  

pierrick

  •  

Arno

Quote from: ColinM on 20.10.2015 01:04:30
Hi
I see what you mean!.  jD automatically puts in a 0 B into the size field but in the code it tests for a null.

Will start a new topic as a bug to summarise this topic
Colin
Sorry but i can not understand what shall be here a 'bug'?  ::)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

pierrick

You can call it "bug" or not - as you want.
But it seems to me a very interessant feature to ask JDownload not to valuate {filesize_value} placeholder to "0 B" for external file ... it should be valuate with an empty string
  •  

Arno

Is already changed in next version 3.2.41.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •