Allow user to decide which content gets icons

clarkburbidge - January 2, 2009 - 23:03
Project:Iconizer
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed
Description

I'd love a hack or user interface mod to allow me to choose which of the content types get icons. For example, I don't want them for images, but do for pdf.

Could a checkbox list be added?

In the mean-time how could I get rid of the use of icon for images?

AttachmentSize
iconizer1.png24.19 KB

#1

clarkburbidge - January 2, 2009 - 23:07

Ok, so seconds later I found my hack....

I went to the files_icons.css file and commented out the lines that related to images.

This (line 87)...

a[href$='.jpg'], a[href$='.gif'], a[href$='.png'], a[href$='.bmp'], a[href$='.jpeg'], a[href$='.svg'], a[href$='.eps'] {
padding: 5px 20px 5px 0;
background: transparent url(files_icons/icon_pic.gif) no-repeat center right;
}

to this...

/* a[href$='.jpg'], a[href$='.gif'], a[href$='.png'], a[href$='.bmp'], a[href$='.jpeg'], a[href$='.svg'], a[href$='.eps'] {
padding: 5px 20px 5px 0;
background: transparent url(files_icons/icon_pic.gif) no-repeat center right;
}
*/

#2

thePanz - January 3, 2009 - 15:00
Status:active» postponed

You're right: that is the way to disable the icons :)
Unfortunately there isn't any option to enable/disable custom icons-groups.
Maybe in a future version (2.x?)

Regards

 
 

Drupal is a registered trademark of Dries Buytaert.