data/TWiki/TWikiTip007.txt
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/TWikiTip007.txt	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +%META:TOPICINFO{author="TWikiContributor" date="1107569291" format="1.0" version="1"}%
     1.5 +%META:TOPICPARENT{name="TWikiTipsOfTheDay"}%
     1.6 +---+ Linking to a file attachment
     1.7 +
     1.8 +One can create a link to a file attachment using one of the following TWikiVariables, =%<nop>ATTACHURL%= or =%<nop>PUBURL%=.
     1.9 +
    1.10 +=%<nop>ATTACHURL%= is the full URL for attachments in the current topic. For example:
    1.11 +
    1.12 +=%<nop>ATTACHURL%/image.gif=
    1.13 +
    1.14 +To link to a file attachment in another topic, use the =%<nop>PUBURL%= variable.  For example:
    1.15 +
    1.16 +=%<nop>PUBURL%/%<nop>WEB%/OtherTopic/image.gif=
    1.17 +
    1.18 +[[TWikiTipsOfTheDay][See More Tips...]]
    1.19 +
    1.20 +-- TWiki:Main.PaulineCheung - 29 Jan 2005
    1.21 +