Hi and thanks for a great module.

My problem is how to add a new icon for a custom file - say ".rec" for example.

Knowing very little about php and css I still thought it must be rather easy and copy/pasted an existing css entry for files (".zip"). Then I simply renamed ".zip" to ".rec", provided an icon with the corresponding name and... nothing happened. So I guess there is more to it than simply adding a few lines of css.

Could anybody help me out here on how I could simply add a few more file types? Or is it too complicated? Thanks in advance!

Comments

thepanz’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Status: Active » Fixed

Hi, the latest 6.x-1.x-dev release contains a easy way for overriding the file-icons.
I've added a few examples in the latest commit: http://drupal.org/cvs?commit=243358

Feel free to try it (and, of course, try to learn few CSS ;)

Cheers

Golem07’s picture

Thanks a lot. It is working like a charm :)

thepanz’s picture

Nice! :)
If you have some new file-icons and would like to share them with the community, I'm open to add them into this module! Let me know!

Cheers

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.