Active
Project:
icontheme
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2007 at 12:19 UTC
Updated:
13 Jan 2008 at 05:58 UTC
This isn't really a feature request - just some ideas for discussion on what we would use icons for:
I for one would be interested to hear about other sensible places to use icons ... any thoughts ?
Comments
Comment #1
JohnG-1 commentedhehe ... I've just thought of a neat idea: for a link to a page on another site, get the other site's favicon (if it has one) and use it as the link icon ... :-)
Comment #2
ray007 commentedThere already is a module decorating external links with favicons ... but yes, links should have an icon too ;-)
Comment #3
JohnG-1 commentedthanks Ray - so there is! it took me a while to find, but in the process I noticed how many contrib modules are used to do different icon things ... so here's a quick round-up:
<a>-elements and automatically fetches and stores the corresponding favicon.ico if available. Generates and stores a CSS-file to stick the favicon to the URL at display time.From this I can see how an iconification API might well draw support from all these module maintainers/ developers. I can also picture an icon.module (including the API) which would be the basis for a number of 'plug-in' modules for various iconfication functions ... ?
One thing they all seem to have in common is 'themeing' links. Can anyone thing of a case where an icon would be used for anything that isn't (part of) a link?
Comment #4
ray007 commentedI don't think we would need plugins, we just need to extend the namespaces for the need of various modules.
And I think many icons would be in place without having a link in them as they are mostly decoration. Menuitems, titles of block and nodes and ..., sections in a form, each inputfield in a form could have its icon.
Decorating a link with the favicon of the targetsite probably can't profit from theming here (except maybe for a fallback icon), but the other modules sure could.
Comment #5
JohnG-1 commented@ #4.2 iconic decoration ... hmm; yes, I can see how 'attribute' or 'metatag' icons can be useful in non-link areas.
I'm a little bit alarmed by the word 'decoration' ;-) ... IMO the main purpose of icons is they are recognised at a glance, and have a consistent meaning through-out a given website (at least) - a kind of informatic visual short-hand. This is quite different from 'decoration' whose effect is to distract or make the eye linger. Am I being to narrow minded about this ?
Node_title icons: eg content-type, updated, unpublished, unmoderated, etc. As a node_title is content, it would never be entirely replaced by an icon ?
Block_title icons : interesting idea ... eg display user role 'badges' in the Navigation block_title ? or, as blocks are often module-specific, show an icon denoting the module eg taxonomy ?... would you ever want to use an icon to entirely replace a block_title ?
Form_element_label icons : are you thinking of recurring form items like a 'Postal Address' fieldset legend, a 'Phone Number' field label, a 'Birthday' field label ... etc ? (are these not something like XML datatypes ... ?)
Comment #6
ray007 commentedWell, whether it's 'visual shorthand' or 'distraction' probably depends on the viewer ...
And I think the title shouldn't be replaced by the icon (at least not normally), but the icon displayed near the title.
And you already bring some nice examples for icon usage with form elements ;-)
Those icons don't have to be recurring, but a little telephone icon beside all phone-number fields is one of the things this is meant for.
Comment #7
JohnG-1 commentedPrefixing labels with icons is a relatively easy CSS theming task : I've started a couple of CSS iconification tutorials in the theming handbook.
Replacing labels (strings) with icons using CSS is not so easy ...
Comment #8
ray007 commentedYes.
And icontheme is not about "how to get the icon there", but about "which icon shall we use"?
In some cases you may know exactly which image you want to use, but in many cases an intelligent icon-chooser could help a lot ...
Comment #9
neomenlo commentedYou've missed some important .css ways to implement icons.
This will ad them based on the ending of the url:
a[href $='.pdf'] { }
This will only apply the style to things matching the beginning of the url:
a[href ^="mailto:"] { }