Hi.
1.
I am trying to rename folder 'albums' (folder where Zenphoto keep images).
I tried to rename 'albums' in zp-config.php.source from zp-core folder, and nothing. Also I tried to rename again 'albums' in folder-definitions.php file from zp-core folder, then to run ...zp-core/setup.php again, and it still use 'albums'. I tried also to rename cache folder in folder-definitions.php at the same time and it works, but main 'albums' is still in use.
2.
What is best way to copy entire gallery from one site to another? And after copying and installing it on another site (new site address, new data base), to rename again 'albums' directory. So basically the same gallery on two sites, only difference will be name of 'albums' and maybe 'cache' folder too.
3.
Is there any way to rename all already made album names in gallery directly in SQL data base from phpMyadmin, something like search and replace. I have few hundreds albums with same suffix so it will be helpful. If I manage to rename it with search and replace directly from phpMyadmin will Zenphoto gallery update album (folder) names on disk?
Comments
2. Use the backup utility to backup the database on site 1. copy that backup file and the albums folder to the new site. Install zenphoto. When it will ask if you want to restore the database. Answer yes.
3. Album names in the database must match the folder names in the album folder. So you would have to rename the folders on the disk then rename them in the database. Zenphoto treates the folder name as master. So if you just change the database you will effectively remove any data you have stored for the albums.