This project is read-only.

Architecture interrogations

Topics: Customizing Orchard, General, Writing modules
Apr 3, 2012 at 1:56 PM

Hi everyone !

We are new to Orchard and we would like some advice regarding a specific project architecture. We would like to create a website that has custom content for each user.

Our website has some categories; each category has its own page. Each page contains information sheets and we would like to display different sheets depending on the user.

For example :

Let’s imagine we have a “Restaurants” category. This category has some information sheets such as :

-       Fastfood X

-       Snack Y

-       Restaurant Z

Each information sheet has a tag :

-       Fastfood X is tagged “Amateur”

-       Snack Y is tagged “Beginner”

-       Restaurant Z is tagged “Expert”


We would like that when the user registers, he would have the possibility of choosing the tag in which he is interested for each of the website’s categories in order to display customized content for each user.


Example :

Mr Spi is an expert in restaurants. Therefore, when Mr Spi registers on the website, he can choose the tag he wants for each category. He chooses the tag “Expert” for the category “Restaurants”.

Now, when Mr Spi navigates on the website, in the “Restaurants” category, Mr Spi will only be able to see the information sheets of Restaurants tagged “Expert” (in our example above, he will only see “Restaurant Z”) and ONLY these ones.


If Mr Spi doesn’t specify a tag for a specific category while registering, the content for that category will not be customized.


So in order to achieve this project, these are the questions we need answers to:

-       What’s the best way to manage tags in relation to a user (his “profile”)?

-       What is the best way to manage contents on pages where the content depends on the current user’s tags?


Our problem is probably quite common, it should be solved with a correct use of Orchard (or eventually with a content management module). However, we have not been able to find simple (and standard) answers to these questions.

Thanks in advance,


Apr 4, 2012 at 3:25 AM

That problem actually looks extremely specific to me.

Apr 4, 2012 at 4:50 AM

Agree, I have never seen a website with functionality like this. 

Apr 4, 2012 at 9:13 AM
Edited Apr 4, 2012 at 9:14 AM

Have you any idea of the ways to explore to solve this problems ?

For example, can we add custom fields to user's profile ? How ?

If it's possible, can we imagine to create custom queries including this fields ? Or to create specific modules or parts which can handle it ?


Apr 4, 2012 at 9:45 AM

Those are entirely different questions. There are several user profile modules on the gallery.