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

How to truncate the download title?

Started by ibrahim, 19.04.2021 17:47:09

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ibrahim

Hello, I would like to truncate the download title (file_title). Please see the attached screenshot

"Thank you in advance"
  •  

ColinM

Hi

There are two 'names' here.  The name of the downloadable file (fiile name) amd the name of the whole Download (Download Title).  When a Download is created the default Download Title is the file name.  You can change the Title to anything that you choose.  The name of the file itself is unchanged.
Presently the Shotened File Name option only works if you set the filename to 15 or more.So for a file called "Sample_Valve Box_Order_Form-en.pdf" when you set the limit to 15 it will show "Sampl...orm.pdf" as ilustrated in pic short-15.png
If you select 0, 5 or 10 as the length then the filename is shown to its full length as shown in pic short-10.png.
Will look further into this.
Colin
Colin M
  •  

ibrahim

Dear ColinM! Thanks for the quick replay.
Is there any possibility to change on codes to truncate the Download Title?
  •  

ColinM

Hi
Yes I am discussing with Arno.  He is deep in V4 issues at the moment. Please bear with us in these challenging timesBest wishes
Colin
Colin M
  •