Hi,

I have some questions for drupal experts here. It's the first time i'm using drupal. I have to make a website with multi-language support and "multiple access". What I mean with "multiple access" is that I need to have different content based on the visitor status. If he is a professional he will have access to different content and menu items. Whereas if he is not a professional he won't have access to this.

So, when users will come to this website, they will have to select their access : professional or non professional and their language. Those users have to be anonymous, they don't have to log in.

Can I do this with drupal ? Is there any advice you can give me ?

The simple solution I got so far is to have two differents drupal website (separate database) and have a simple web page where I have links to those drupal site. Is this the best solution ?

Thanks a lot for your advices.

Sorry for bad english. I'm french.

Comments

Aerodynamo’s picture

Someone can correct me if I am wrong in saying this, but when you set up account permission on your site, you'll be setting up any sort of user roles that you'd like. For example, on my site, I have anonymous (those who haven't registered), members, moderators, and administrators. Each one has various permissions, meaning they all see different content (with the use of helpful, FREE modules).

It sounds like you'll have to get your professionals to register to the site, which is the easy way to do it. You can add modules to the website that will make it so when someone registers, they don't have to go through a lengthy process of playing e-mail tag and validating and etc., but simply entering a name and a password and connecting.

There may be workarounds, but this is the way I would do it.

CAZephyr’s picture

What you're looking for seems relatively straight forward. You have different choices, and depending on your priorities, you may prefer one over another.
Displaying different content for your users can be done from user action, or from user status. For registered users you can assign a role (such as professional or non), and the user would not be allowed to see content they are not cleared for. However, you indicated that the users in question are anonymous visitors, which means roles are out of the question. Letting the user select his status is also easy enough, but it can't be enforced (i.e. there is no way to prevent a user from selecting the wrong status).
Either can easily be done from within Drupal. For that matter, your simple solution is also easily accomplished in Drupal.
You could set up separate sections within your website. (If you wanted to, you could pull data from different dabases.) And then have a very simple front page that just has a few simple controls to chose the status to guide you to the section.

You have a better idea than I do about how complex you see your website getting in the future. If you would like to set things up as separate websites (with or without different databases), you could. If you want to keep everything is one one website and have the front page link you to the right content, you can do that too.

Good luck.

WorldFallz’s picture

Whereas if he is not a professional he won't have access to this.

You realize there is no way to enforce this reliably with anonymous access (ie not logging in) unless you plan on doing some type of ip access control, right?