Publisher icon missing

Publisher icon missing

by Colin Wheelhouse -
Number of replies: 3

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.

Average of ratings: -
In reply to Colin Wheelhouse

Re: Publisher icon missing

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

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.

In reply to Emma Richardson

Re: Publisher icon missing

by Colin Wheelhouse -

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

Attachment publisher.png
Average of ratings: Useful (1)
In reply to Colin Wheelhouse

Re: Publisher icon missing

by David Sensenig -

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.