I have been working on a solution that would allow training courses to be created using Drupal 8 as the backbone. I have elected not to use the "Courses" module and am simply using custom content types.
At this point I have the following:
Course Content Type -> which contains entity references (1 or more) to Slide Content Types -> which contain Entity references (1 or more) -> to Text or Media content (these are also custom content types). I chose not to use Paragraphs for a few reasons.
Right now I just have "Text" and "Media" content types, but plan on creating additional content types that can be added to a slide -> which in turn is added to the course.
The Text/Media both include a "Taxonomy" term that can be selected.
My goal is to be able to view a course and filter the content (the text/media) based on whether they contain a specific Taxonomy term.
I am considering how to do this using custom views, but cant figure out how to reference the Taxonomy term of the entity referenced content rather than the course object itself.
The end goal would be to have a single course object that may have some content with the Taxonomy term: student and other content with the taxonomy term instructor (some may have both taxonomies selected). I would then be able to view the same course and see some content if I view it as the instructor and different content if it is viewed as a student.
2 Asked on December 26, 2021 by sugandh-khanna
1 Asked on December 24, 2021 by tigertrussell
1 Asked on December 24, 2021 by wale
1 Asked on December 24, 2021
1 Asked on December 21, 2021 by oskar-calvo
1 Asked on December 21, 2021 by user3027413
1 Asked on December 21, 2021
2 Asked on December 19, 2021 by user48552
2 Asked on December 19, 2021 by tinohuda
Get help from others!