Moodle: Jump to Current Section

Userscript for Moodle sites that lets you quickly jump to the current week/section. Made for the Boost and Fordson themes.

लेखक
dotcomboom
दैनिक इंस्टॉल
0
एकूण इंस्टॉल
10
रेटिंग
0 0 0
आवृत्ती
0.1
बनवली
2020-09-28
अपडेट केली
2020-09-29
आकार
1.36 KB
License
नाही
यांवर लागू होते:

This is a script I wrote because I got tired of scrolling through many sections on my school's LMS to get to the current week's plan. (Most of my instructors use weekly periods like 27 September - 3 October as sections). In the Fordson, possibly Boost themes, whatever section that's most current is marked by a different color in its header. Internally it just gives the section another class, "current", and that's what my script uses.

Anyway this script has a couple simple variables you can change, jump_on_page_load and navbar. When jump_on_page_load is set to true, when the page loads it'll jump down automatically. When navbar is set to true, it will add a new button to the top navbar that will let you jump manually. Both of these are set by default.

If the navbar button does not show up, or it doesn't jump down automatically, either your theme does things differently or your course does not have any sections marked as current.