Could someone with access to the new Moodle.org theme please provide the PHP used to call the "My Courses" menu being used in header.html to produce the dynamic user course list?
This would be very useful to many theme developers.
Patrick, stumbled on this theme... here... that blew me away as it has a dynamic menu that pulls the courses as listed in each category.
It's not quite what you're looking for, but, I think there's a way to combine his idea and yours to duplicate My courses
It's not quite what you're looking for, but, I think there's a way to combine his idea and yours to duplicate My courses
I found this theme last week as well. It contains a bunch of useful PHP to create what I'm looking for.
I'll share what I learn when I have something that functions.
I'll share what I learn when I have something that functions.
I'd really like to be able to build a 'My Courses' menu in Moodle, with my limited PHP skills E.g:
<?php echo "Hello World"; ?>
I would appreciate some help from some Moodle Coders to construct this menu.
<?php echo "Hello World"; ?>
I would appreciate some help from some Moodle Coders to construct this menu.
I've done some work and managed to get my theme to generate a drop down menu based on the courses a user is enrolled on.
Download here: http://moodle.org/mod/forum/discuss.php?d=113817#p558976
Download here: http://moodle.org/mod/forum/discuss.php?d=113817#p558976