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 Item9693 for docu changes for 1.2 and 2.0.

Item8747: Foswiki documentation on attachments unclear

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine Documentation Main.WillNorris
-- RichardSmith - 22 Mar 2010

 

In the attachment documentation on the following page, Linking to Attached files section

http://foswiki.org/System/FileAttachment#FileAttachmentTable

The text:

•To reference an attachment located in another topic, enter: %PUBURLPATH%/Tasks/OtherTopic/Sample.txt (if it's within the same web) %PUBURLPATH%/Otherweb/OtherTopic/Sample.txt (if it's in a different web)

This seems to be wrong because using %PUBURLPATH% doesn't work, it needs to be %PUBURL%

A simple error but it takes some time to figure out if you aren't familiar with the syntax.

Regards

-- RichardSmith

Changing from WebSite to Engine

-- KennethLavrsen - 22 Mar 2010

PUBURLPATH does create a valid path, but it is not autolinked. To create an automatic link, use PUBURL.

-- ArthurClemens - 22 Mar 2010

ItemTemplate edit

Summary Foswiki documentation on attachments unclear
ReportedBy RichardSmith
Codebase
SVN Range
AppliesTo Engine
Component Documentation
Priority Normal
CurrentState Closed
WaitingFor WillNorris
Checkins Foswikirev:6858 Foswikirev:6859
TargetRelease patch
ReleasedIn 1.0.10
Topic revision: r7 - 13 Sep 2010, KennethLavrsen
 
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