Download Latest Version jddownloads_file_types_1.1.1.zip (93.8 kB)
Email in envelope

Get an email when there's a new version of jddownload_file_types

Home
Name Modified Size InfoDownloads / Week
README.md 2025-06-16 1.1 kB
jddownloads_file_types_1.1.1.zip 2025-06-14 93.8 kB
jddownloads_file_types_1.1.0.zip 2025-06-14 89.2 kB
jddownloads_file_types.zip 2025-06-14 81.2 kB
Totals: 4 Items   265.4 kB 0

jddownloads_file_types (1.1.1)

Checks the file type icon for listings in the jdownloads file manager component

What this does is: It scans your existing downloads and sets the files icon type based on the name. For example if the file is "foo.dmg" it will set the icon as "dmg.png". If the file type does not have a icon it will set it to the "unknown.png" icon. If you later add the file icon you can rerun the script and it will replace those "unknown" files with the new matching icon.


  1. If you don't know what your table prefix is you can use the following commands to see what it is. The prefix MUST end with a "_".

    mysql -p
    use joomla;
    show tables;
    quit;
    
    The prefix is what appears at the start of every field in that list.
    
  2. Run this script to install the dependancies:

    ./installdeps

  3. Run this script and the first time it will ask you to configure the tool.

    ./scan_file_types.pl

    If you need to change the settings run:

    ./scan_file_types.pl prefs

  4. That should be enough, it should be workable now.

Be sure and make a backup before running this tool!

Source: README.md, updated 2025-06-16