sitenavigation
- Moodle 1.9
- 更新 2013-07-05
A block to navigate through all categories and subcategories of Moodle sites merged with my own previous myCourses Block to navigate own courses.
With admin options you can choose to display either one or both blocks inline as block or either one in a popUp-window. PopUp-Windows may stay open all the time on bigger displays. Using poUp-windows will also enhance performance, as the whole trees to render sitenavigation and mycourses are written into files on the server. If you use the popUp-windows do not forget to set up a nightly cron-job to purge the sess_xyz_myCourses.html and sess_xyz_siteNavigation.html files I generate in the $CFG->dataroot/1 directory with something like
rm sess_*.html or erase sess_*.html
Please NOTE: in Moodle 2.3 upwards the directory to purge is $CFG->dirroot/local/sitenavigationtemp
If you need furhter details have a look at the development history at the top of block_sitenavigation.php and in the forum thread:
http://moodle.org/mod/forum/discuss.php?d=103703
or for myCourses as separate Block:
http://moodle.org/mod/forum/discuss.php?d=67494
Please report any bugs here or in the mentioned threads. Rosario