Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-10-24 13:57:11

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

How can I change the filename?

I am looking for a way to change the name of a loaded file. The name field isn’t editable, and even if I replace the file, the original name is kept. Is there anyway to change it?

Thanks

Z-

Offline

#2 2008-10-24 14:16:21

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: How can I change the filename?

Unfortunately I think the only way is to delete and reload

Offline

#3 2008-10-24 14:25:30

douglgm
Member
From: Bristol
Registered: 2006-08-23
Posts: 182
Website

Re: How can I change the filename?

I’ve resorted to renaming the file and then editing the database directly to match. Not exactly a very nice solution, but I need to keep the ID of the files the same. (I don’t want to re-attach the file to lots of articles!)

Unfortunately for some reason that remains a mystery to me, the “name of files” is a big political issues where I am!

Offline

#4 2008-10-24 16:23:01

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: How can I change the filename?

mmm… Ok, I see. I vote for Mc Oba.. beg your pardon, for file renaming, in an hypotetical future. Thanks!

Offline

Board footer

Powered by FluxBB