Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-18 05:04:29

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

r2219: file_download_list sorting on created, modified, size

r2219 moves timestamps and file size into the database to allow sorting on those fields.

The existing timestamps should be copied into the database when you update to that rev. Testers, please check that they’re accurate, particularly after editing and re-saving a file.


Alex

Offline

#2 2007-01-18 08:45:37

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,594
Website

Re: r2219: file_download_list sorting on created, modified, size

I think it is working fine on my side.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#3 2007-01-18 18:08:22

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: r2219: file_download_list sorting on created, modified, size

I don’t see the columns in the admin files tab on either a new install or updating an existing one.

On an updated site I get Existing file: dropdown and create button above Upload file?

Offline

#4 2007-01-18 21:01:05

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: r2219: file_download_list sorting on created, modified, size

I don’t see the columns in the admin files tab on either a new install or updating an existing one.

I’ll clarify: sorting is now possible with the file_download_list tag on those columns. The columns aren’t listed in the admin UI.

The Existing File dropdown is something else entirely. Looks like it was added some time ago, in r1343.


Alex

Offline

#5 2007-01-18 23:17:46

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: r2219: file_download_list sorting on created, modified, size

excuse if inappropriate here but – on my ‘files’ wishlist – that sort option is #1 !

  1. is user ability to edit ‘date created’
  1. is a ‘replace file’ option

reasons being: files uploaded weekly (say newsletter) can be output simply on website using file_download_list with ‘posted’ providing the date … no need for associated articles, etc … but say newsletter comes out every Thursday, but one week it’s posted a day late – then user can change ‘posted’ for consistency in the archive … ‘replace file’ option comes into its own with – say – downloadable forms, which might be updated every so often (pricing change, etc)

Offline

#6 2007-01-19 04:43:39

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: r2219: file_download_list sorting on created, modified, size

meant to post the plugin which offers the ‘replace file’ option:
http://forum.textpattern.com/viewtopic.php?id=14095

zem, noticed u added #2 above to rev 2222 – great!

Offline

Board footer

Powered by FluxBB