combine gallery databases
-
- Phoca Member
- Posts: 11
- Joined: 07 Apr 2020, 20:23
combine gallery databases
In the documentation there's a section on moving a gallery from one site to another but my circumstance is slightly different. I have 2 sites, both with different galleries. There are no overlaps in category names and all images have descriptions. I want to move the gallery on site 1 and add it to the gallery on site 2. Your thoughts please? Thanks!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: combine gallery databases
Hi, the problem is, the upgrade (migration: export/import) works best when you import into empty database. Iporting data to existing data and joining them ist not so easy. In fact you do the same like it is described in upgrade/migrate articles: https://www.phoca.cz/documentation/86-j ... o-joomla-4 but you need to check the relations and/or fix them (when you paste items into empty database, then the relations like image - category are OK, but this is not valid when there are current data in database, because the relation numbers (ID of category, ID of images) move)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 07 Apr 2020, 20:23
Re: combine gallery databases
Makes sense. Thanks Jan!