Item1631: Add (not replace all) icons with custom topic
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
The %ICON% macro uses a single topic for all of the icons.
If I want to add new icons, I must either:
- modify the DocumentGraphics topic, or
- copy that topic and add my icons to it, and point %ICONTOPIC% at my new topic.
The former is bad because my changes would be lost when I next upgrade.
The latter is better than the former, because I will not lose my changes when I upgrade, but I would not benefit from any improvements to DocumentGraphics
when I upgrade, either.
I would like %ICON% to look in an extra topic, if I specify one, so that I can list only my custom icons in a separate topic (e.g. Main.CustomIcons).
Foswiki should look for icons in DocumentGraphics
and in my topic. My topic should take precedence over DocumentGraphics
It would be useful if there was also a tool for comparing timestamps of icon image files, to warn the administrator if any images in DocumentGraphics
are newer than the corresponding image (if any) in my icons topic.
- 18 May 2009
similarly, it'd be nice if skins could specify different DocumentGraphics
topics - which makes me wonder if we shouldn't replace the topic with a tmpl based system, where the distributed & skin settings are in
and then users could specify other customisations using topic templates..
I recon this deserves a feature request
- 19 May 2009
I see FeatureProposals
requires a comitted developer. I cannot commit to implementing this kind of change. I don't know enough and I am learning other things right now
Would you be willing to implement it?
- 21 May 2009
yay, I finally doccoed it - hope you like it
- 30 Jun 2010