Ability to run more then one gallery instance against the same DB and image repository

Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2010-10-04 18:09

Is it possible to run more than one gallery instance against the same DB and image repository?
What need to be set/changed in settings to have it run in such mode?

As theme developer I want run few different themes simultaneously against the same DB/Images.
Since it is not possible to specify theme to be used via URL (I think), I want to have different codebase but the same data.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2010-10-06 03:55

Hm. How about if we gave you the ability to specify which theme you use? Currently if you're an admin you can use the "theme" parameter to pick a theme that you want, eg "?theme=greydragon". But that's not sticky -- we should really put it in your session...
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-10-06 04:53

Would that be stuck in a cookie so that parameter isn't stuck in a URL?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-10-06 23:05

either or would work actually
url-to-cookie would be best

@bharat: yes, parameter is supported but it is not persisted when navigating between pages, so session state need to be maintained
would it be possible to get it soon?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2010-10-07 01:30

Serge D
Please file a ticket for this so it does not get lost.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2010-10-11 18:02

Sorry floridave, attempt to file the ticket resulted in ticket info being disregarded and login screen to popup again
could you please add the ticket?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-10-11 22:26

Done: https://sourceforge.net/apps/trac/gallery/ticket/1434
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2010-10-12 03:05

Thank you
just do not have much time to fight the system