Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-09-28 13:32:40

pompilos
Member
From: Spain
Registered: 2005-06-07
Posts: 114
Website

Sort by Title in <txp:file_dowload_list />

Tag <txp:file_download_list> accepts the attribute sort="by_value_and_order" with many values, but it doesn’t accept the value “title”. Can developers add this value to the list of possible values of that attribute? Thank you, guys.

Last edited by pompilos (2014-09-28 13:35:28)

Offline

#2 2014-09-28 21:32:30

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Sort by Title in <txp:file_dowload_list />

There is nothing wrong with <txp:file_download_list sort="title" />, but there seems to be no <txp:file_download_title /> tag.

Offline

#3 2014-09-28 21:56:03

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,269
Website GitHub

Re: Sort by Title in <txp:file_dowload_list />

Ummm, sorting by title works for me on a test install. And you can display it in your Form/container using <txp:file_download_name title="1" />. What am I missing? Are the docs not up-to-date?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2014-09-29 08:00:09

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Sort by Title in <txp:file_dowload_list />

etc wrote #284286:

there seems to be no <txp:file_download_title /> tag.

Bloke wrote #284289:

you can display it in your Form/container using <txp:file_download_name title="1" />. What am I missing?

Oops, my bad! :)

Are the docs not up-to-date?

They just don’t mention title among possible sort values.

Offline

#5 2014-09-29 08:16:23

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,269
Website GitHub

Re: Sort by Title in <txp:file_dowload_list />

etc wrote #284301:

[they] don’t mention title among possible sort values.

Does now. Thanks for the report.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB