Added documentation
This commit is contained in:
parent
2fc9c265a4
commit
b92158933c
6
lib.php
6
lib.php
|
@ -17,10 +17,12 @@ function local_treestudyplan_extend_navigation(global_navigation $navigation) {
|
||||||
// Moodle 4.0-4.2 do not yet support customizing the primary navigation bar (it is a planned feature though)
|
// Moodle 4.0-4.2 do not yet support customizing the primary navigation bar (it is a planned feature though)
|
||||||
// For now, go to theme settings and add the following into "Custom menu items"
|
// For now, go to theme settings and add the following into "Custom menu items"
|
||||||
// [your name for my studyplan]|/local/treestudyplan/myreport.php
|
// [your name for my studyplan]|/local/treestudyplan/myreport.php
|
||||||
// [your name for studyplan viewing]|/local/treestudyplan/view.php
|
// [your name for studyplan viewing]|/local/treestudyplan/view-plan.php
|
||||||
|
// [your name for studyplan managing]|/local/treestudyplan/edit-plan.php
|
||||||
// For example:
|
// For example:
|
||||||
// Mijn studieplan|/local/treestudyplan/myreport.php
|
// Mijn studieplan|/local/treestudyplan/myreport.php
|
||||||
// Studieplannen|/local/treestudyplan/view.php
|
// Studieplannen|/local/treestudyplan/view-plan.php
|
||||||
|
// Studieplannen beheren|/local/treestudyplan/edit-plan.php
|
||||||
|
|
||||||
// Using some javascript magic we'll hide the links that are not accessible
|
// Using some javascript magic we'll hide the links that are not accessible
|
||||||
// we will add all the hrefs that should be hidden to this variable below
|
// we will add all the hrefs that should be hidden to this variable below
|
||||||
|
|
Loading…
Reference in New Issue
Block a user