Mergeing 2 galleries.. hmmm

ee99ee2

Joined: 2002-08-28
Posts: 4
Posted: Fri, 2002-10-18 05:42

Anyone know how I can take 2 working galleries, and put gallery B in a nested album of gallery A? hmmm..... it this possable??

-ee99ee2

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Sat, 2002-10-19 11:06

.

 
ee99ee2

Joined: 2002-08-28
Posts: 4
Posted: Sun, 2002-10-20 19:06

huh?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Mon, 2002-10-21 07:00

Beckett posted a reply, but then I think he realized that it wasn't the right answer to your question so he removed it (which is good; no point in leaving disinformation in the forums :smile: )

I'm not sure I understand your question. Let me state what I think you're asking and then you can correct any incorrect assumptions that I might be making. You have two completely separate instances of Gallery accessible via different URLs, and you want to be able to see the entirety of Gallery B as a nested album of Gallery A. Gallery B will no longer be accessible on its own, but it will become part of Gallery A. In essence, you're talking about moving all the albums from one site to the other.

If that's the question, then you can do it like this: Put every album in Gallery B inside a single album at the top level. Then, using SSH or FTP, browse to the albums directory for Gallery B. There you will find a directory for every album in that Gallery. Copy all of those directories over to the albums directory for Gallery A. When you go to Gallery A, you should see the new top level album appear, and all the albums underneath it should appear as they did in Gallery B. Then, you must copy the contents of the .users directory from Gallery B's albums directory into the .users directory for Gallery A's albums directory (except for userdb.dat) and it will pick up those changes also.