NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item2438: When attaching files, improve look of automatic Links

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement No Action Required Engine    
If a file is attached to a topic, FOSWIKI provides the handy feature "Create a link to the attached file".

However, links generated like this have the form: * filename? : description

In almost all cases, users manually change this to:

* description?

In my opinion, the filename must not be output again - it is already in the path and if a user needs it, it can be copied from there. I think it would make sense to change the behaviour of the Wiki accordingly - what is your opinion?

-- DanielOderbolz - 01 Dec 2009

Daniel, this is already possible, but apparently badly documented. There are two settings in System.DefaultPreferences, namely ATTACHEDFILELINKFORMAT and ATTACHEDIMAGEFORMAT, that can be set/overridden accordingly (e.g., by placing redefinitions in topic WebPreferences).

Closing this... wink

-- MarkusUeberall - 01 Dec 2009

Cool, thanks! So you will also improve the documentation of this?

Cheers, Daniel

-- DanielOderbolz - 01 Dec 2009
 

ItemTemplate edit

Summary When attaching files, improve look of automatic Links
ReportedBy DanielOderbolz
Codebase 1.0.7
SVN Range
AppliesTo Engine
Component
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
Topic revision: r3 - 01 Dec 2009 - 14:41:31 - DanielOderbolz
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads