Hello,
Is it a rule that the default theme is overwritten when updating?
I have a customized file light.css in /themes/default
which is overwritten on 4 out of 5 installations of Zenphoto I am using.
Is there something wrong if it isn't overwritten? I can't figure out the rule... the installations are nearly all the same in terms of albums, galleries, versions, etc.
Thanks,
M.
Comments
So you decided what to overwrite. If you upload the default theme of course all is overwritten. If you did not backup you custom files or as recommend made a copy of the theme under a new name what do you expect?
Also if uploading folder overwrites the folder content directly or just adds missing files is a matter of how your FTP client is setup.
In addition, if you do not update all files, there may well be problems introduced due to compatibility issues.
So if you intend to modify a theme, make a copy and modify the copy. Zenphoto provides a means to do that. Best still, if you operate this way you can compare your theme to the distributed one to see what has changed and may need to be updated in your theme.
The question is... I have 5 nearly the same galleries, light.css is changed in every of them. 4 out of 5 get overwritten and changed back to blue, one stays green (customized by me). Why?
No problems noticed, update goes through OK. Well... is it really OK?
Setup will of course warn about wrong ones as well.
So I should just leave 'albums' and delete everything, leave the database as it is and upload the new files... and the installer-updater will fill the files and I won't lose my galleries?
Gotta try that.