Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-05 18:37:11

robin746
Member
From: Ireland
Registered: 2007-09-22
Posts: 113
Website

Reference files in articles?

There appears to be no docs on how to use Files in articles.

I want the simplest thing: to let a reader of the site download a document from the Textpattern Files store. What markup do I need to use in the article to enable this?


robin

Offline

#2 2008-02-05 18:43:39

robin746
Member
From: Ireland
Registered: 2007-09-22
Posts: 113
Website

Re: Reference files in articles?

OK, I’ll answer my own question…

<txp:file_download_link id=“1”>link</txp:file_download_link>


robin

Offline

#3 2008-02-05 18:44:03

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

Re: Reference files in articles?

Offline

#4 2008-02-05 18:57:51

robin746
Member
From: Ireland
Registered: 2007-09-22
Posts: 113
Website

Re: Reference files in articles?

Beat you by 42 seconds. :-)


robin

Offline

#5 2008-02-05 19:05:03

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Reference files in articles?

Plus, if you want to associate files with a particular article upm_file

Offline

Board footer

Powered by FluxBB