Item8747: Foswiki documentation on attachments unclear

pencil
Priority: Normal
Current State: Closed
Released In: 1.0.10
Target Release: patch
Applies To: Engine
Component: Documentation
Branches:
Reported By: RichardSmith
Waiting For: Main.WillNorris
Last Change By: KennethLavrsen
-- 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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy