first thanks to Martin and all others developpers for Moodle 1.4.3.
You will find attached some moodle's modified files permitting some activities linking for Moodle 1.4.3 with all it addons.
Regulate the rights for groups is also included ( they share the same files )
Same old lazy code with fresh new files.
Language file regulaterights.php added for easier translation.
Please don't try these on a production system, experiment before.
In the meantime, it may be usefull to someone.
A readme file is included for the installation.
What you get:
1 - Only quiz, lesson and resource modules may be dependants ( locked or linked ) of one other module.
2 - Any module may be the predecessor or the activator of the linked module.
3 - If a quiz if choosen as a predecessor it must be fully graded (
100 % ) to unlock linked activity. If you use Alvin Trick you can choose the grade you want to unlock.
4 - All others modules ( even if they are gradables ) have only to be "viewed" by the student to unlock the linked module.
What you loose:
You will not be able , when in editing mode, to "moveto" a hidden module. If you really need to move an hidden module, show it, move it and hide it and link it again. That is the cost to pay!
How to use it ( Teacher ):
A - Hide the module you want to be dependant.
B - Try to move it. Instead of the message "moveto" you will have "predecessor" before each other module in the course.
C - Click on the desired predessesor. It fullname will appear at the right of the linked module.
D - If you want to remove the link show the linked module.
E - Modules hidden but not linked are treated as before.
How to use it ( Student ):
F - All modules are treated as before if they are not linked.
G - Linked modules without the predecessor's condition realised appears dimmed with the predessessor name in parenthesis (Timothy suggestion ).
H - As soon as the predecessor is done ( at that moment quiz grade or view of all others modules )
The dimmed linked module appears normal ( not dimmed ) as if it was not linked.
I - If a student try to type in the address bar the link to the quiz or the ressource a message indicate the name of the predessesor and the required grade for quiz.
Your comments are welcome.
Thank you for your testing time and have a good try,