1 DB but 2 gallerys ??

altf4
altf4's picture

Joined: 2006-02-16
Posts: 5
Posted: Thu, 2006-02-16 03:30

is there any way to install a secound gallery (another url)
but using same Database ??

okay thats may not that big thing ..
the thing is i would like to set in the secound installation the root to a subfolder

like
gallery1
ROOT - folder1 - subfolder2 - subsubfolder3

gallery2
subfolder2 - subsubfolder3

someone know how to do ??

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-02-16 17:33

i experimented with this several months ago.. i tried to setup a system where an alternate URL uses the same gallery but with a different "anonymous" user.. then you just adjust the permissions for this user to provide a different view of the gallery. it worked reasonably well, but there are just so many places in the code where we check the current userid against the anonymous userid and I wasn't sure how to resolve all those cases when there are multiple anonymous userids out there.
so.. the short answer is: we don't support this :(
if you're a programmer and would like to see some diffs for the solution i mention above, just let me know.

 
altf4
altf4's picture

Joined: 2006-02-16
Posts: 5
Posted: Fri, 2006-02-17 03:20

i made already a completly own galerysystem .. but MUCH diffrent as gallery2
and well gallery2 is much better as well ;-)

my idea was to just hardcode the root-folder id in the secound installation.
(secound installation will be read only (so guess will not have any future problems in userhandling) the problem is just "find the places where is the root-folder defined ;-)

reverse ingeneering is not at all my special field ;-)

 
altf4
altf4's picture

Joined: 2006-02-16
Posts: 5
Posted: Fri, 2006-02-17 03:21

is there any way using embed module ?