Item1631: Add (not replace all) icons with custom topic

Priority: Enhancement
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Reported By: MichaelTempest
Waiting For:
Last Change By: KennethLavrsen
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.

-- MichaelTempest - 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 templates/icons.skin.tmpl and then users could specify other customisations using topic templates..

I recon this deserves a feature request smile

-- SvenDowideit - 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 smile Would you be willing to implement it?

-- MichaelTempest - 21 May 2009

yay, I finally doccoed it - hope you like it smile

-- SvenDowideit - 30 Jun 2010

ItemTemplate edit

Summary Add (not replace all) icons with custom topic
ReportedBy MichaelTempest
Codebase trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins distro:f74307430a50
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License