Feature Proposal: Enhancement of ATTACHEDFILELINKFORMAT (and ATTACHEDIMAGEFORMAT) with $date, $fileext, ...
Motivation
Enhancement of
ConfigurableAttachLinkFormat is needed to support more precise and intuitive behavior when adding attachments to topics that shall contain many attachments. The feature can also be used to enhance the tool tip info when holding the mouse over an image.
Description and Documentation
Enhance ATTACHEDFILELINKFORMAT (specified in
ConfigurableAttachLinkFormat) to support other place holders like $fileext (for automatic usage of ICON{}), $date (date the attachment was added), $year, $mo, $day, ...
For example implementation see
AttachedFileLinkFormatExtension.
Examples
currently I use:
- Set ATTACHEDFILELINKFORMAT = |$year-$mo-$day| |
$name| |
or
|$year-$mo-$day| |[[%ATTACHURL%/$name][%ICON{$fileext}% $name]]| |
Impact
Implementation
See
AttachedFileLinkFormatExtension.
--
Contributors: MichaelDeckert - 27 Mar 2008
Discussion