mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:41

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: 09 Oct 2003, 05:41 

Joined: 08 Oct 2003, 13:20
Posts: 13
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Maybe?
PostPosted: 10 Oct 2003, 06:58 
As far as I know, this is not possible yet.
Sorry :cry:


Report this post
Top
  
Reply with quote  
 Post subject: Change directory name...
PostPosted: 30 Nov 2003, 17:07 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
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. :wink:


Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group