I've been creating folders (/cpg143/albums/foldername) to upload pics to and
then using Batch Add to add the pics to my Gallery.
I occassionally rename Albums in the Gallery. Is it ok to rename the actual folder
that they're located in as well to keep them matched-up?
C
Yeah, but you'll need to update the database (pictures table, filepath field) manually.
Quote from: Nibbler on June 10, 2007, 09:41:56 PM
Yeah, but you'll need to update the database (pictures table, filepath field) manually.
If it's simply changing a path name somewhere, I can do that. But where do I do it? From phpMyAdmin or from somewhere in Coppermine itself?
Thanks,
C
phpmyadmin, hence 'manually'. If you search the board you will find previous posts about this, but you need to run a query like
UPDATE cpg_pictures SET filepath = 'newpath' WHERE filepath = 'oldpath'
If you are not familiar with phpmyadmin make a backup of the table first.
Thanks.
Sorry for the time delay, lost the time to tackle this 'til now.
Anyway, I have looked around phpMyAdmin and feel comfortable manually typing in new path names. However, I don't see any button/option labeled "backup database" or whatnot. Can you instruct me on how to make a backup before I proceed?
Thankyou,
C
It's called 'Export'. Try searching the web if you need a tutorial.
Unrelated reply to this thread split into separate thread (http://forum.coppermine-gallery.net/index.php?topic=49381.0). Locking this one.