Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-30 15:38:36

Malize
Member
From: Barcelona
Registered: 2007-08-28
Posts: 77
Website

Link direct Download

Hi,

surely this will be an easy question, but a newbe like me is going through hell to find out :)

How can I make a direct download link to download a pdf archive? (I’m looking for an answer for dummies lol)

Than you :)

Last edited by Malize (2007-08-30 15:40:48)

Offline

#2 2007-08-30 16:26:34

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Link direct Download

surely going through hell can be avoided by going to the textbook and searching for “file”

Offline

#3 2007-08-30 17:11:39

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Link direct Download

To be more precise: txp:file_download_link :)

Offline

#4 2007-08-30 17:31:10

Malize
Member
From: Barcelona
Registered: 2007-08-28
Posts: 77
Website

Re: Link direct Download

I see I know more or less the same of txp than of searching… lol

thank you very much.

Offline

#5 2007-08-31 07:44:36

Malize
Member
From: Barcelona
Registered: 2007-08-28
Posts: 77
Website

Re: Link direct Download

I’ve read it, but I’m too newbie to understand. How should I do it? I don’t know where to say witch file I would like to download…

Offline

#6 2007-08-31 13:42:39

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Link direct Download

Hi Malize

<txp:file_download_link id="1">

where the id is the id of the file you uploaded. You can find out what id your file was given in the Content>Files tab. The ID is the number on the left of each one of your uploads.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB