> I'm searching for a hint to insert an image (company logo) into the
> title of a tiddly (template).
>
> I could not find any ready-to-use solution like for all problems before.
> Is there a solution at all?
http://www.TiddlyTools.com/#TiddlerIconsPlugin
http://www.TiddlyTools.com/#TiddlerIconsPluginConfig
After importing the above tiddlers (and doing a "save-and-reload", of
course), add the following macro invocation into the ViewTemplate, so
that icons will be displayed:
<span class='title'>
<span class='floatleft' macro='tiddlerIcons''></span>
<span macro='view title'></span>
</span>
Next, in [[TiddlerIconsPluginConfig]], add entries for the desired
company logos:
merge(config.macros.tiddlerIcons.map, {
tagvalue: ["tooltip","imagefile"],
tagvalue: ["tooltip","imagefile"],
...
tagvalue: ["tooltip","imagefile"] // note: no comma after last
definition
}
Then, simply tag the relevant tiddler with one or more tags listed in
the map, and those images will be displayed next to that tiddler's
title.
note: PNG images referenced directly from within the plugin code or
contained in the default config can be obtained from:
http://www.famfamfam.com/lab/icons/silk/
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios