I quite like the combo list. For our purposes it's just nicer to look at than the course list. However, for the way we use Moodle it is not necessary that users see any courses they are not enrolled in (none of our courses are self-enrolable).
Is there any way/patch/module etc... to display a Combo List with only the courses that a user is enrolled in? Similar to the myCourses block but displayed on the middle column of the front page (in plain HTML like the Combo List without any Javascript).
I tried to patch the combo list, I tried to write a new function to return a combo list as described above and I tried to add the myCourses block to the front page middle column; all not successful.
Or is there any built-in function that would return a nested array or object with only the categories and courses I am enrolled in? That would already help a lot.
Any suggestion would be greatly appreciated.
I am using Moodle 1.9.2
Cheers!
Anatol
本讨论区帖子已移除
We too have the same requirement.
We can add the Combo List to the front page but only want it to display courses that the user is already enrolled in. We do not have any self-enrollable courses.
The main thing we prefer about the Combo List is how nice it looks compared to the other options as well as the categorisation of courses which is important for students to identify which one is theirs.
SB
http://tracker.moodle.org/browse/MDL-17986
Does anyone knows if this issue will also be included for the next 1.9 version?
Thanks.
Julio
Have a look at myCourses and siteNavigation Blocks. Code could be customized to show in a ComboList or in the central area on the FrontPage.
myCourses: http://moodle.org/mod/forum/discuss.php?d=67494
siteNavigation: http://moodle.org/mod/forum/discuss.php?d=103703
Have a look also on my TestServer, where I use another neat category/courses Menu which opens horizontally (from Kevin Treussier). That's why I can not use it, because our large scale site with more than 4'000 courses deeply nested in more than 1'000 categories would scroll infinitely to the right.
TestServer: https://moodle.fhnw.ch/moodleTest
production: https://moodle.fhnw.ch
So I created the siteNavigation out of the myCourses Block which both show hierarchical nested folders.
Actually I am recoding to show both in a popUp-window to have more space than in the 210 Pixel wide Blocks.
Rosario