Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-05-23 13:29:59
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
PHPMyAdmin & file size question
I’m editing the name of uploaded files in phpmyadmin but it stops <code><txp:file_download_size format=“auto” decimals=“0” /></code> reporting the file size. Why would that be?
I’m just adding 1_, 2_ in front of files to make <code><txp:file_download_list form=“files” category=“brochure” /></code> list the output in the order I want.
Offline
Re: PHPMyAdmin & file size question
You could just name and upload them.
Or….hmmm, that’s all I got for you.
Offline
#3 2006-05-23 13:46:57
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: PHPMyAdmin & file size question
Problem is I alreday have uploaded them and used their id in different parts of the site.
Offline
#4 2006-05-23 23:06:43
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: PHPMyAdmin & file size question
Futzing about with the content of the database is like futzing about with the code: you break it, you broke it.
If you can send a patch that removes or reduces the need for manually editing the database, the dev team will be happy to look at it.
Alex
Offline
#5 2006-05-23 23:10:05
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: PHPMyAdmin & file size question
Thanks, but I was after some insight as to why it stopped working.
Offline
#6 2006-05-25 00:00:52
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: PHPMyAdmin & file size question
Does the “name” for each file in the database match exactly the uploaded filenames?
Offline
#7 2006-05-25 09:35:38
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: PHPMyAdmin & file size question
Thank you very much Mary, that was it.
Offline
Pages: 1