coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Hercules24 on August 20, 2006, 09:02:21 PM

Title: Can I rename some album subdirectories?
Post by: Hercules24 on August 20, 2006, 09:02:21 PM
Hi All,

When I first started with Coppermine I just had a few different albums and I din't care about naming them.
Now each new album I make a directory /albums/2006-08-20-Name so they are easy to sort out and manage.
I can easily change the name of an old directory like /albums/Name-20-5 to the new format, but Is there a way I can get Coppermine to know that it should pick up the jpgs from the new named directory?
Thanks for listening to me.
Title: Re: Can I rename some album subdirectories?
Post by: Nibbler on August 20, 2006, 09:09:40 PM
You'd need to fix the paths that are stored in the database. If you search the board you should be able to find a sample query for this that I have posted before.
Title: Re: Can I rename some album subdirectories?
Post by: Hercules24 on August 20, 2006, 10:04:28 PM
Thanks Nibler.
After playing a bit with PHPMyAdmin I found a way I could manually change the directory name for a single picture.
But even that I'm afraid of doing. For me it's like performing open heart surgery with a sword.
Maybe later when I learn something more about PHP like queries I'll fix it since it's really not a big issue, more a minor beauty detail.
At least I know where to look now.
Problem solved.