News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

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 2 Guests 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!
  •