Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-11-22 15:22:31

pierlu
Member
Registered: 2014-08-12
Posts: 153

download file

Hi I ask help to expose the file to be downloaded from the site.
I tried to write it but I can not: <txp: file_download_list limit = “10” break = “li” wraptag = “ul” category = “parent-children1 ° el” />

Offline

#2 2014-11-22 16:58:45

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: download file

<txp:file_download_list limit="10" break="li" wraptag="ul" category="parent-children1" />

Last edited by ruud (2014-11-22 19:43:14)

Offline

#3 2014-11-22 17:54:23

pierlu
Member
Registered: 2014-08-12
Posts: 153

Re: download file

I tried but it is not …

Offline

#4 2014-11-22 17:57:26

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

Re: download file

Hi pierlu, is it one or many files that you are trying to set a download link for?


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

Offline

#5 2014-11-22 17:58:46

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: download file

pierlu wrote #286005:

I tried but it is not …

It is, really ;)

Are you files in a category named “parent-children1”?
If not, which category are they in?

How doesn’t it work. Don’t you get a file list? Does it give errors?

Offline

#6 2014-11-22 19:12:09

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: download file

ruud wrote #286007:

How doesn’t it work.

I assume it might be caused by the curly apostrophes. pierlu, try the same code with straightened quotes:

<txp:file_download_list limit="10" break="li" wraptag="ul" category="parent-children1" />

In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB