Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

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 distro:d52089c62f5c distro:8b499731a637
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 License