.vscode | ||
amd/src | ||
classes | ||
cli | ||
css | ||
db | ||
doc | ||
lang | ||
test | ||
.gitignore | ||
bootstrap-color-constants.png | ||
build.php | ||
build.sh | ||
cfg_grades.php | ||
doc.php | ||
edit-invite.php | ||
edit-plan.php | ||
invitations.php | ||
invited.php | ||
lib.php | ||
LICENSE | ||
myreport-embed.php | ||
myreport.php | ||
README.md | ||
reports.php | ||
settings.php | ||
styles.css | ||
version.php | ||
view-plan.php |
moodle-local_treestudyplan
Adding links to the primary navigation menu
The studyplan plugin will automatically add links to the flat navigation bat used in Moodle 3.11 and below However, Moodle 4.0-4.2 use a new "primary navigation" bar, and does not yet support customizing the primary navigation bar (it is a planned feature though)
Use the following workaround: You can add custom primary menu items in Site administration -> Appearance -> Theme settings That page contains an item called "Custom menu items" Add the following into that area to custimize it // [your name for my studyplan]|/local/treestudyplan/myreport.php // [your name for studyplan viewing]|/local/treestudyplan/view-plan.php // [your name for studyplan managing]|/local/treestudyplan/edit-plan.php // For example:
Mijn studieplan|/local/treestudyplan/myreport.php||nl
Studieplannen|/local/treestudyplan/view-plan.php||nl
Studieplannen beheren|/local/treestudyplan/edit-plan.php||nl
My study plan|/local/treestudyplan/myreport.php||en
Study plans|/local/treestudyplan/view-plan.php||en
Manage Study plans|/local/treestudyplan/edit-plan.php||en
Dev Notepad
Link to jsfiddle for size matching with different scroll area (frozen line headings): https://jsfiddle.net/kr968osg/6/ Similar trick can be used to maintain column width: On size change, loop through all elements in column, then set min-width to with of largest cell. Except on largest cell