I am trying to create a site that offers courses. Each course will be broken up into sections with each sections containing a number of lessons. Viewers will then be able to progress through the course one lesson at a time - at their own pace (like Lynda.com).
Note: the sections are merely there for organizational purposes - they don't actually house any content. All the actual content is limited to the Course page and the individual Lessons.
I am trying to figure out the best way to organize this. This is my current thinking (but I'm not sure this is the best way to do it).
Section & Entry Types
I have created a Structure Section called Courses with two Entry Types:
I have then set up a matrix field for the Course entry type with two field types:
- Section Name: Plain Text field type for the name of the section
- Section Lessons: Entries field type set to Courses (for the list of lessons in each section)
The idea being that on the course page I could quickly and easily create a number of sections and then add the relevant lessons to each section. I can then set up the template to progress through each section and it's lessons in order.
With that said, I had two other ideas.
Set up three entry types - Course, Section & Lesson
I would then have the Course be the parents of the various Sections and the Sections be the parents of the various Lessons.
This also seems fairly easy to do (the only problem is creating an entry for each section given that the Sections don't actually house any content).
Set up categories for each course
I could then assign each lesson to a category (I would then have to figure out how to order the content).
Any suggestions as to which is the best way to proceed?