coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: PKfanSteph on March 07, 2006, 04:11:32 AM

Title: Sharing 1 Album Between 2 CPG Galleries
Post by: PKfanSteph on March 07, 2006, 04:11:32 AM
I maintain sites for 2 musicians, Mark and Phil.  Each has their own domain (though they are on the same server) and their own CPG database/installation.  But, is there a way I can include one album (photos of Mark and Phil performing together) in both galleries without retyping information or keeping two sets of images?

It's a large album--several hundred photos--otherwise I wouldn't bother!

Thanks,
Title: Re: Sharing 1 Album Between 2 CPG Galleries
Post by: Joachim Müller on March 07, 2006, 08:48:00 AM
Short answer: no
Long answer: it is only possible if the server is yours to administer (create a symlink then) - needs good skills and insight how coppermine works.
Title: Re: Sharing 1 Album Between 2 CPG Galleries
Post by: PKfanSteph on March 08, 2006, 10:32:00 PM
Thanks. 

My host will create the symlinks if I give them the details.  Are there adjustments that need to be done in Coppermine or the database itself? 
Title: Re: Sharing 1 Album Between 2 CPG Galleries
Post by: Joachim Müller on March 09, 2006, 06:35:49 AM
the solution suggested (symlinks) will not link the databases together, but only save some hard disk space on your server. The symlink has to point from within the albums folder of domain A to the albums folder (or a sub-folder that holds the shared pics) of domain B. For a closer integration, you'd have to apply some code changes (good skills needed).
Title: Re: Sharing 1 Album Between 2 CPG Galleries
Post by: PKfanSteph on March 13, 2006, 07:52:53 PM
Thanks for the responses.  Just not having two sets of photos will be a big help. 

-- Steph