Here's what I found:
<?php print_whole_category_list() ?>
will print the category list with courses, albeit in a table, which unfortunately is useless to me.
<?php print_course() ?>
will print the coursebox with nothing in it(?)
<?php print_courses() ?>
will print all course (your currently enrolled in, perhaps?), but it unfortunately also shows the teacher name and course summary.
HERE'S WHAT I NEED:
I need a print function to generate all categories and courses (preferably in a nested unordered list)
The output would be something like this:
<ul>
<li>Category 1</li>
<ul>
<li>Course 1</li>
<li>Course 2</li>
<li>Course 3</li>
</ul>
<li>Category 2</li>
<ul>
<li>Course 4</li>
<li>Course 5</li>
</ul>
</ul>
If possible, it would be nice if a function could be created in lib.php to produce this type of list.
If that is not possible, can someone please help me create such a function myself.
Thank you so much as this is an frequent request of my clients and would make the use of dropdown menus much better.