0

I've been trying to figure out how to create a content type "a course" that has title, description, duration, instrucor details and contains video lessons. I made three different content types - courses, videos and instructors but couldn't figure it out how to relate it. I've been trying with View but if someone could suggest module/tips how-to would be much appreciated.

BR, Ivan Ivanov

1 Answer 1

4

Entity Reference

Provides a field type that can reference arbitrary entities:

To your course content type add new field of entity ref type and refer videos content type. Add second field to your course ct and refer instructions content type.

When you create new course you will be able to select instructions and videos

Tutorial (simple)

Youtube tutorial

4
  • Thank u for the promt response. Tried with Entity Reference but these two fields that I had added in the course content type refer to the title of the videos and instructors only not to the whole content, meaning each video has title, thumbnail, descrition, duration etc and each instructor name, experience, age etc....Wanna get all this info in one. Is it possible? Commented Apr 10, 2013 at 15:28
  • just to add - see this capture for reference s22.postimg.org/vt9c9gwi9/Capture.png Commented Apr 10, 2013 at 15:41
  • The entity reference is just a "tunnel" to your different content-types. With views-module e.g. you can strip out the needed fields of a referenced entity.
    – Volker
    Commented Apr 10, 2013 at 16:39
  • Managed to do it exactly with Entity Ref Module. Thank you very much mate :) Commented Apr 13, 2013 at 22:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.