mariovaldez.net http://www.mariovaldez.net/webapps/forums/ |
|
How to change a directory name? http://www.mariovaldez.net/webapps/forums/viewtopic.php?f=1&t=62 |
Page 1 of 1 |
Author: | JABevan [ 09 Oct 2003, 05:41 ] |
Post subject: | How to change a directory name? |
Is it possible to change a directory name? I'm in a situation where I've created a directory with multiple subdirectories and content. It wasn't until later that I realized I need to swap the directory name with a subdirectory.... Thanks! |
Author: | Mark Coudriet [ 10 Oct 2003, 06:58 ] |
Post subject: | Maybe? |
As far as I know, this is not possible yet. Sorry |
Author: | mvaldez [ 30 Nov 2003, 17:07 ] |
Post subject: | Change directory name... |
JABevan: Hi. Directory management (copy, move, rename) will be available for CMS module version 0.6.2 (hopefully by January). If this is an emergency, you can change it by hand. You will need to rename the directory directly (with a file manager or a command prompt) AND you will need to change all references in the database tables. The field is cmdb_directory and must be changed at the following tables: cmcomments3 (if there are comments for that directory or any lower dir). cmhits3 (if there are visit hits for that directory or any lower dir). cmrating3 (if there are rating scores for that directory or any lower dir). content3 (for that directory and any lower directory). Also, you will need to change cmdb_parentdir in content3 for all lower directories. As you can see, is a bit of work, but now is the only solution. Actually, the critical changes are only in content3, all other records can be left orphan without catastrophic. problems. Regards, Mario A. Valdez-Ramirez. |
Page 1 of 1 | All times are UTC - 7 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |