Many-to-Many Relationships

I am trying to create a many-to-many relationship module between content items in Orchard. Unfortunately, without success. But then I realized how to simulate such a relationship with TAGS. Basically, I need to associate the type / part of the content of the "project" with the type / element of "member". Here is my idea:

Create a project type of content and attach part of the tag to it. Create a list of project types.

Create a "member" content type and attach part of the tag to it. Create a list of member types.

Add a container widget on the project page in which you will show elements of the project type list, but in the view, add a filter that displays only those content elements that have the tag "project-xx" (project-x is a tag on (from) the current project ) The only problem I see so far:

How can I access the tag of another part of the content / type on the page to use it in the view (access to the tags "project" from the view "member")?

The idea for this or any other idea when modeling a many-to-many relationship between content elements in Orchard 1.1 will be appreciated. I read the docs but couldn't create an nn relationship between content items.

+5
source share
1 answer

I know this is a little outdated, but have you seen the mechanics module ( http://gallery.orchardproject.net/List/Modules/Orchard.Module.Downplay.Mechanics )?

This allows you to create connections between content items. However, it does not work with later versions of Orchard (think> = 1.5). Worth a try if you are still using 1.1

0
source

All Articles