I'm creating a website consisting of various categories, each category is an instance of the website and has the exact same modules. These modules have unique content, like a forum. Also I would like to share modules like userlogin and userblogs which are the same in each category.

Currently I tried the Organic Group modules as well as the Multisite Manager module, but they didn't met my needs. Does anyone know if there is a module, modification or method which accomplishes what I described?

Thanks in advance for helping me out,

Regards,

September Multimedia

Comments

ScarabMonkey’s picture

you could try using multiple 'sites' and have a different database prefix in each config file

keep your modules in the 'all' folder and the configs in sites with subdirectory names

e.g.
<root>/sites/yoursite.com (for the main www.yoursite.com)
<root>/sites/yoursite.com.site2 (for the site at www.yoursite.com/site2)
<root>/sites/yoursite.com.othersite (for the site at www.yoursite.com/othersite)

this gives you 3 sites with 3 databases, they have separate content but they do not share users.

vm’s picture

you want to investigate a multisite installation, running multiple instances of Drupal off of one code base. Modules to be shared between ALL installation would go in the sites/all/modules folder. DB tables to be shared between instances can be set in the appropriate array in your settings.php file.

I believe there are some overview directions in the INSTALL.txt file of Drupal core. However, here is a trhead found using the search tool. see : http://drupal.org/node/107347

Here is a handbook page/section dedicated to multisite install see : http://drupal.org/node/43816

cmsproducer’s picture

In the /sites/all folder, create a new folder called "modules".
The create virtual/shared sites within Drupal by creating a folder with the same name as each domain names within the sites solder witha unique settings.php file
i.e
/sites/all/modules/ (place your shared modules in this)
/sites/www.domain1.com/settings.php (config for site1)
/sites/www.seconddomain.com/settings.php (config for site2)
/sites/www.otherdomain.com/settings.php (config for site3)

You can point each site settings to a different DB so that the cotnent is unique, but this will provide you with a situation of shared application files and module files thus enabling you to test and add modules once for a virtually limitless installation farm of Drupal sites

Let me know if you have more questions
-----
iDonny Productions: Web CMS Design, Development & Web Standards

septembermm’s picture

Hi all,

Thanks for your replies, really appreciate it. I investigated a multisite installation, but the problem is this: We have a website with different categories. Users which have access to a category, may not have access to other categories, depending on their memberships. We also want to apply this to the forums. For each category, we would like to have a seperate forum. This doesn't have to be a different module, but as it just looks to the user like it's a different one, it's alright.

We also would like to split up the forums depending on URL, for example, ?q=category1/forum, presents the user with the forum from category 1, ?q=category2/forum represents the forum of category 2 and so on...

I read a few good things about taxonomy and taxonomy_access modules. Maybe can these modules accomplish this? Or if you know of anything better, please let me know!

Thanks in advance,

September Multimedia