Search…

X3 Photo Gallery Support Forums

Search…
 
Okular
Topic Author
Posts: 21
Joined: 14 Nov 2022, 07:54

Redesign in parallel possible?

04 Jul 2026, 10:04

If I want to rework and redesign my web Gallery, what will be the best way to preserve and backup the current site and build up the new one in parallel - if this is possible at all? Thanks for any helpful hints!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14468
Joined: 30 Sep 2006, 03:37

Re: Redesign in parallel possible?

04 Jul 2026, 15:43

Okular wrote: If I want to rework and redesign my web Gallery, what will be the best way to preserve and backup the current site and build up the new one in parallel - if this is possible at all? Thanks for any helpful hints!
It's a bit unclear what you mean "build up the new one in parallel", so it's a bit hard to answer. If you want to have both old and new websites available, you could just keep separate X3 installations in subdirs /old/ and /new/ ... or just have the new one in root /.

Optionally, you could backup your /config/ and /content/ dirs as a zip file, or duplicate the two dirs as /config_bac/ and /content_bac. The /config/ and /content/ dirs are the only dirs that define your actual unique X3 website ... The other dirs and files are just application files.

If you are just going to change the global style but keep pages/galleries, you could just backup the /config/config.user.json file.

It's a bit unclear exactly what you want to do, but if you want to have both the new and old website active at the same time, you would need to use the first, option with separate X3 installations in separate dirs.
 
Okular
Topic Author
Posts: 21
Joined: 14 Nov 2022, 07:54

Re: Redesign in parallel possible?

Yesterday, 14:45

What I meant was that visitors would continue to see my website as it is now, while I can make changes to the design and/or folder structure behind the scenes and switch to the new site design once it's finished. 
So, I understand this might ask for a separate X3 installation. Would I just copy the current installation into a new folder or do I need to download the X3 zip again and install that into a new folder? And how will I get access to the second installation with the panel and differentiate between them?
Thank you!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14468
Joined: 30 Sep 2006, 03:37

Re: Redesign in parallel possible?

Today, 07:57

This would basically require two dirs then. Just keep your existing website, and then:
  1. Create a new dir /new/ (or whatever you want to call it).
  2. Install X3 in the /new/ dir with "minimal" option.
  3. Delete dirs /new/content and /new/config
  4. Copy /content and /config from your root dir into the /new dir.
Okular wrote: And how will I get access to the second installation with the panel and differentiate between them?[/size]
The panel url will then be /new/panel. You will need to keep an eye out from which website (url) you are editing.