coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Superpoo on August 17, 2004, 02:58:49 AM

Title: Some1 can help me with a little of programming??
Post by: Superpoo on August 17, 2004, 02:58:49 AM
ok, I want to integrate 2 or more, (I think only 2) coppermines galleries into a HTML webpage, of course php is needed to do the thing I want to; if you login into one, you enter to the 2, can it be???
Title: Re: Some1 can help me with a little of programming??
Post by: Nibbler on August 17, 2004, 03:17:07 AM
Use the same cookie names for both installs, and change $CONFIG['TABLE_USERS']                = $CONFIG['TABLE_PREFIX']."users"; in installation A to point to the user table of installation B.

Just a guess.
Title: Re: Some1 can help me with a little of programming??
Post by: Joachim Müller on August 17, 2004, 07:01:50 AM
erm, one single html page can only hold one or more coppermine galleries if you use frames (or <iframe>), which is not recommended, as it has lot's of drawbacks. There's a space issue as well, since you can't tell in advance what resolution your visitors will have.

GauGau