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!
Icon for xlm file, link it to xlsm file too?
- buxster07
- Phoca Member
- Posts: 24
- Joined: 21 May 2018, 16:44
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Icon for xlm file, link it to xlsm file too?
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:
TO:
Jan
administrator/components/com_phocadownload/libraries/phocadownload/file/file.php
FROM:
Code: Select all
case 'ods':
case 'xls':
case 'xlsx':
$icon = 'spreadsheet';
break;
Code: Select all
case 'ods':
case 'xls':
case 'xlsx':
case 'xlsm':
$icon = 'spreadsheet';
break;
If you find Phoca extensions useful, please support the project
- buxster07
- Phoca Member
- Posts: 24
- Joined: 21 May 2018, 16:44
Re: Icon for xlm file, link it to xlsm file too?
Thank you so much, Jan! Loving this product!!!!
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Icon for xlm file, link it to xlsm file too?
Ok, great to hear it.
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Icon for xlm file, link it to xlsm file too?
If you find Phoca extensions useful, please support the project