Feature #7615

Develop learnpaths sequencing on course homepage

Added by Yannick Warnier about 5 years ago. Updated over 4 years ago.

Course settings
Target version:
Start date:
Due date:
% Done:


Estimated time:
60.00 h
SCRUM pts - complexity:


Develop notion of course learnpaths sequencing

Associated revisions

Revision 7276ba4a (diff)
Added by Julio Montoya about 5 years ago

Add SequenceManager see #7615

Revision d949647a (diff)
Added by Julio Montoya about 5 years ago

Add sequence lib and database structure changes see #7615

Revision 11fee5a6 (diff)
Added by Yannick Warnier about 5 years ago

Update literals language in sequence lib data - refs #7615



Updated by Yannick Warnier about 5 years ago

  • Due date set to 29/04/2015
  • Assignee changed from Angel Quiroz to Julio Montoya
  • Estimated time set to 60.00 h

This should reuse the code that uses the sequence_* tables in this file, mostly: but should also allow for courses and sessions to be sequenced.

Tables definitions can be found in around lines 3200

In particular, to allow sequences to define courses and sessions as main elements, the sequence_row_entity table should allow for null values for row_id, course_id and session_id.

This will be used in a practical case soon, and requires an admin interface to design courses and sessions sequences, with a user view that shows the sequencing with a maximum of 3 columns, like this:

  Col1   Col2   Col3



   C3            C4


   C6            C7

   C8            C9
  • C2 (course 2 or session 2) can only be entered/subscribed to if C1 (course 1 or session 1) has been "completed"
  • C3 and C4 can only be entered if C2 has been "completed"
  • C5 can only be entered if C3 and C4 have been "completed"
  • C6 and C7 can only be entered if C5 has been "completed"
  • C8 can only be entered if C6 has been completed
  • C9 can only be entered if C7 has been completed
The notion of "completed" can be defined like this:
  • C2 identified not only a course, but also a specific gradebook_category_id inside this course
  • When the gradebook category is completed by the student to the point of satisfying the condition of granting a certificate to the student, then C2 is considered "completed"
  • When C2 is a session, C2 is only considered completed once all the courses inside this session have been completed

The development mentioned above already works and has been tested on a production system, but it only allows to set dependencies between some elements inside one course, and it needs to be updated to comply with the new doctrine changes.


Updated by Julio Montoya about 5 years ago

I added the table creation/update and the library.


Updated by Yannick Warnier about 5 years ago

And I translated the Spanish terms to English.

The next step is to update the structure so sequences can be configured between courses.

Then we need to add the interface to configure this sequences.

Then we need to alter the courses subscription behaviour so that it can follow the sequencing configuration.

Step by step. Let's start with the next step, then we'll have more visibility upon the next step.


Updated by Yannick Warnier almost 5 years ago

  • Target version changed from 1.10.0 to 2.0

OK, this went a little off-course. We now have sessions sequencing with other tables than those used before. I'm moving this task to 2.0 as there is still work to do on this (to enable more resources to be sequenced)


Updated by Yannick Warnier over 4 years ago

  • Target version changed from 2.0 to 3.0

Also available in: Atom PDF