Page 1 of 1
Icon for xlm file, link it to xlsm file too?
Posted: 26 Aug 2020, 19:59
by buxster07
Excel / .xlm files show up with a wonderful icon in a download list; however, excel files that are .xlms format do not inherit the same icon-- though it is still an Excel file. Is there a way to make .xlms files to also utilize the same Excel icon? Currently, the .xlsm files show up as a blank icon (see below)
Thank you for any insight or tips on the matter!
Re: Icon for xlm file, link it to xlsm file too?
Posted: 27 Aug 2020, 14:31
by Jan
Hi, I will add the .xlsm extension to the xml file list in next version, for now you can customze it here:
administrator/components/com_phocadownload/libraries/phocadownload/file/file.php
FROM:
Code: Select all
case 'ods':
case 'xls':
case 'xlsx':
$icon = 'spreadsheet';
break;
TO:
Code: Select all
case 'ods':
case 'xls':
case 'xlsx':
case 'xlsm':
$icon = 'spreadsheet';
break;
Jan
Re: Icon for xlm file, link it to xlsm file too?
Posted: 31 Aug 2020, 19:55
by buxster07
Thank you so much, Jan! Loving this product!!!!
Re: Icon for xlm file, link it to xlsm file too?
Posted: 02 Sep 2020, 13:50
by Jan
Ok, great to hear it.
Re: Icon for xlm file, link it to xlsm file too?
Posted: 24 Oct 2020, 16:58
by Jan