Search…

X3 Photo Gallery Support Forums

Search…
 
marco963
Experienced
Topic Author
Posts: 89
Joined: 14 Oct 2006, 10:22

How to update (without overwriting !)

05 Nov 2008, 16:41

mjau-mjau wrote: since version 20081015 upgrading is easy while keeping customizations. Simply upload the "imagevue" folder overwriting existing data - Your custom configuration files will be kept because they are created as uniquer files on your server!
Karl, the file "imagevue.css" loaded in each theme directory is overwritten by the file included in the update package ! :?
I had customized this file (via admin interface) to modify text size, fonts, etc. Fortunately I had a backup :lol:

Furthermore, also the file index.gallery.phtml (in templates directory) might be customized by site admin (I added web statistics code at the end of the file).

It would be useful to add all these configurations files in config directory to avoid possible undesired overwriting during sw updates.

Regards,
Marco
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

05 Nov 2008, 22:53

Thanks for your feedback ...

You are right about the CSS, we don't save the changes in separate user files. It seemed a little overkill ...

For now, our general recommendation is that you "create new theme" before you start changing things around. That will mean none of your files get overwritten, and you will also keep your CSS.

We will have to consider further options with other files also, but it's not a problem easily solved. We can't simply back up ALL files that are manually changed by user and put in config folder.
 
marco963
Experienced
Topic Author
Posts: 89
Joined: 14 Oct 2006, 10:22

21 Nov 2008, 08:39

mjau-mjau wrote: For now, our general recommendation is that you "create new theme" before you start changing things around. That will mean none of your files get overwritten, and you will also keep your CSS.
Hi Karl.

After having installed the latest (yesterday) version, I realized you have updated the imagevue.css file, adding for instance the following attributes:

.filemod {
color: #FFFFFF;
}
.filemod_title {
font-size: 20px;
}
.filemod_description {
}

It's quite nasty to align after every SW update the CSS files, so it is not sufficient (IMO) to create our own theme as a copy of an existing one, but we should (every time) check the differences between CSS files, to correctly update them, ensuring consistency.

That said and thanking you for your efforts to keep untouched the basic configuration files, my dream would be to have an even smoother and safer update process.

Regards,
Marco
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

21 Nov 2008, 09:27

I agree ... We need to find a better solution for CSS files when updating.