RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 04, 2008, 11:20:12 pm
+  RSGallery2 Support Forums
|-+  RSGallery2
| |-+  General discussion (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  multiple instances.
Advanced search
  « previous next »
Pages 1
Author
Topic: multiple instances.  (Read 6279 times)
« on: April 26, 2006, 09:49:10 pm »
Tommy Boy
Guest

I want to run multiple instances of the RS Gallery component on my site.  I need to have two separate instances of the RS Gallery component.  Two separate galleries with two separate main menu pages with the ability to have each instance with sub categories.  Is there a possible way to do any of this?

Thanks,
Tommy
Logged
 
Reply #1
« on: April 27, 2006, 04:57:33 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

Two seperate instances are only possible if you change the install routine of rsgallery2. This is a custom hack. I don\'t think we will be implementing this feature soon, as it is not a common request.

Daniël
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #2
« on: April 27, 2006, 10:11:55 am »
Tommy Boy
Guest

How might one go about changing the install routine?  Is it terribly difficult to do?
Logged
 
Reply #3
« on: April 27, 2006, 10:31:56 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

just replace every reference to the directory that is created (in xml file change the name of the component)

in install.rsgallery2.php and uninstall.rsgallery2.php change all references to the database tables

as far as I know, that should do it
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #4
« on: April 30, 2006, 04:27:52 am »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1414



ya it should work, you\'ll need to replace table and file names in every file however.

it may be simpler to just link to two different galleries from your menu rather than the main RSG2.  this will accomplish similar to what you are looking for.
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #5
« on: May 04, 2006, 07:16:18 pm »
Tommy Boy
Guest

That is how I have it, but what I don\'t like about that is that I link to the main menu for one where I have two subcategories.  Then I link to the third subcategory for the other.  My problem is that when I link to the main rsgallery page, I have that third gallery showing when I don\'t want it there.  THen When you click on th menu link to goto the third subgallery that I want separated out, you then have a link at the top that sends you to the main gallery.  It kind of makes the site look less professional.  Just my opinion.  It would be nice to have an easy way to run 2 instances.
Logged
 
Print  Pages 1
« previous next »
Jump to: