Forum Moderators: open

Message Too Old, No Replies

One Drupal, diff content for diff groups of users

Not exactly multi tenant, just need to serve diff content to diff companies

         

explorador

9:35 pm on Sep 23, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi webmasters, I have experience with one Drupal install/one code to build diff websites using diff domains, but...

This time I need one Drupal on ONE domain to serve diff content to diff groups of users.


Let's say I want to create Webmasterworld CMS school
I will have 2 categories: Drupal and Wordpress
You create your account and select your CMS (example: Drupal)
Now you can only see Drupal content on the site


Me, the admin, just post content and assign a category (Drupal or Wordpress), period. It's not a multi tenant site, it's not a multi site, it's one domain, one site with diff content for each group. I know I can do a lot of things with views but this time need to filter content creation and make it stick to it's own category and be visible only to the users associated with that category (based on their profile).

Thanks in advance.

LifeinAsia

1:03 am on Sep 24, 2014 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



The Content Access module may do what you want, although you may need to automatically assign a specific role to each user based on their CMS choice (the Rules module should be able to help you out).

Alternatively, the Panels module will allow you to filter content by fields associated with the user.

ergophobe

2:41 am on Sep 24, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This is a job for Organic Groups. It's more or less what it was built for.

I've been using it a fair bit. I thought Life In Asia was using it too... but maybe not.

It's what's used to run [groups.drupal.org...] among other things

explorador

10:40 pm on Sep 26, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks a lot, I'm looking into this as it sounds the way to go.