Anybody else experience the following. When I upload a Publisher file as a reource I get an unknown file type icon instead of the Publisher one as shown below. Most annoying andvisually unattractive. Using Moodle 2.3.2. Doesn't appear to be a theme issue.
I would guess that there is just no icon for Publisher in Moodle because it is not a commonly uploaded file type. Actually, I recommend that my teachers switch them to PDF as a lot of people are unable to open Publisher files anyway.
Found a solution I added the folowing line to lib/filelib.php on line 1489
'pub' => array ('type'=>'application/vnd.mspub', 'icon'=>'publisher'),
I also uploaded the attached file into pix/f
Awesome! Thanks so much. I like to make both Publisher and PDF versions available so teachers can edit the files if they want, but it was showing a Word icon which was deceptive. This works great.