Moodle 3.3.1 on Clean, Boost and other themes.
I'm having issues with the My Courses breadcrumb link not working.
Both of the courses in the above nav are in the same category. One I'm a teacher on, the other I am not. As you can see the My Courses isn't a hyperlink, while Courses is.
I'm also experiencing problems with the course categories links, for example when editing a Competency:
There's no Back or close button on the competency screen, so this one is frustrating and requires the use of the browsers back button
I've not found this listed anywhere in the tracker, but I have seen issues with the breadcrumbs that this has been a behaviour since at least 2.2. Can this be corrected so that all the breadcrumbs are links? Is this intended behaviour? Or is this something I should log as a bug?
Thanks for your help or advice!
Yes, same on the v3.4... with any theme (Boost, eGuru, Adaptable, Academi...)
I just installed moodle 3.5 and see the same issue. The file /lib/navigationlib.php, line 1228:
$this->rootnodes['mycourses'] = $this->add(get_string('mycourses'), null, self::TYPE_ROOTNODE, null, 'mycourses', new pix_icon('i/course', ''));
The null there that I've bolded needs to have a url instead of null. The next line for 'courses' has the url parameter set so that's why it has a link but mycourses does not. If you want to fix it, replace null with new moodle_url('/my/')
I just revisited this issue today and found a fix buried away in the settings.
Site admin > Appearance > Navigation
No matter what I try there is still dead text in the breadcrumbs. Most annoying is the
home / my courses / coursename where my courses does absolutely nothing but take up space on the screen.
I think I will put the normal code in for general use and just remove it on our site.
Checked or unchecked I still see My Courses in my breadcrumbs.
I wonder if there's more to it than just one setting?
You could alo try tweaking Fordson to do what Diane suggested above: https://moodle.org/mod/forum/discuss.php?d=356398#p1498233
Confirmed, but only working well in Fordson now. Plain Boost shows "My courses" in the breadcrumbs regardless of how you've got navshowmycoursecategories set.
Older versions of Moodle were smart enough to skip categories that were hidden (while the courses themselves sitting in them are not). I wonder if this could be achieved / restored if only in Fordson. Right now clicking on a hidden category name in the nav path breadcrumbs bring up the attached error.
Yes, same here too.
It's really frustrating. And it happens with the Admin links too, in the Site Admin pages. Makes moving around the admin options incredibly frustrating!
Hope there's a fix soon. Has a bug been reported?
I am facing the same issue on 3.3.1 version, Hope it will fix.