![]() |
|
Update of the script and theme change - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Update of the script and theme change (/thread-9609.html) |
Update of the script and theme change - Sponsi - 2012-02-08 Hello, Is it a rule that the default theme is overwritten when updating? 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. Update of the script and theme change - acrylian - 2012-02-08 There is no "rule". If you upgrade you are the one that uploads the files. 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. Update of the script and theme change - sbillard - 2012-02-08 Of course, the "rule" (not enforced) is that you overwrite all the files provided by the Zenphoto package. If not Setup will tell you there is an issue as a warning. 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. Update of the script and theme change - Sponsi - 2012-02-09 OK, well it's obvious that I am overwriting everything. Update of the script and theme change - acrylian - 2012-02-09 Well, I cannot answer, you would have to compare the files to find that out. The best is - and recommend especially for zp.core - to delete the folders first and the reupload fresh. That way you really have all the right files. Setup will of course warn about wrong ones as well. Update of the script and theme change - Sponsi - 2012-02-10 Wow, so maybe I was doing updates not really the proper way - I just found this way in the documentation. 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? |