Developer forum

Forum » Feature requests » Icon for docx files

Icon for docx files


Reply

Hi DW

 

A customer of ours is asking when there will be uploaded a icon for the docx files in the FilePublication module? Since their customers think that the files are corrupted since it has a red X as a icon - ofc. because it can't find a icon for the specific file type.

 

Correct me if its just us that need to upgrade de image folder for the icons.

 

/J


Replies

 
Reply
jas@dkis.dk wrote:

Hi DW

 

A customer of ours is asking when there will be uploaded a icon for the docx files in the FilePublication module? Since their customers think that the files are corrupted since it has a red X as a icon - ofc. because it can't find a icon for the specific file type.

 

Correct me if its just us that need to upgrade de image folder for the icons.

 

/J

Hi Jacob,
 

 

We had the same question from one of our customers. I removed the standard Icon from the File publisher template and I wrapped the File publisher table in a DIV container.

When you do this, you can insert Mootools to your website and read all the link attrubutes within your DIV container. When you have all your link attributes ending with .docx of .doc (or something) you van add a class that has a background aligning left with a perfectly shaped Docx icon :)

 

Hope this solution can help you.

 
Reply

Hi Pim

 

Thanks for the workaround - should work perfectly - but I still think that this could be solved so much easiere with just adding the icon to the modul - but if the DW developers says otherwise - then i now know what to do. Again thanks.

 

/J