General help

My Course and Course Category breadcrumbs not working?

 
Picture of Bob Gilmore
My Course and Course Category breadcrumbs not working?
Particularly helpful Moodlers

HI folks,

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!

Cheers!


 
Average of ratings: -
Moi
Re: My Course and Course Category breadcrumbs not working?
Particularly helpful Moodlers

Wondering if you ever got this resloved.

I am having the same issue on 3.3.1, this is a clean install, I am using the "Boost" theme.

 
Average of ratings: -
Picture of Devadas das
Re: My Course and Course Category breadcrumbs not working?
 

Yes, same on the v3.4... with any theme (Boost, eGuru, Adaptable, Academi...)

 
Average of ratings: -
Picture of Diane Soini
Re: My Course and Course Category breadcrumbs not working?
Particularly helpful Moodlers

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/')

 
Average of ratings: Useful (2)
Picture of Bob Gilmore
Re: My Course and Course Category breadcrumbs not working?
Particularly helpful Moodlers

I just revisited this issue today and found a fix buried away in the settings.

Site admin > Appearance > Navigation



 
Average of ratings: -
Picture of Chris Kenniburg
Re: My Course and Course Category breadcrumbs not working?
Particularly helpful MoodlersPlugin developers

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. 


 
Average of ratings: -
Picture of Bob Gilmore
Re: My Course and Course Category breadcrumbs not working?
Particularly helpful Moodlers

That's odd. We're using the most recently available version on Fordson (3.3) on Moodle 3.5 and with that setting on, we're absolutely seeing all the links as shown below with my courses > JavaScript in the nav drawer and the full path in the 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

 
Average of ratings: -
Picture of Przemek Kaszubski
Re: My Course and Course Category breadcrumbs not working?
Particularly helpful Moodlers

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.



 
Average of ratings: -
Picture of Dan Jeffries
Re: My Course and Course Category breadcrumbs not working?
 

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?

 
Average of ratings: -
Mary Cooch
Re: My Course and Course Category breadcrumbs not working?
Documentation writersMoodle Course Creator Certificate holdersMoodle HQParticularly helpful MoodlersTestersTranslators
When you say "It happens with Admin links too, in the Site admin pages", do you have Link admin categories ticked (enabled) in Site admin>Appearance>Navigation?
 
Average of ratings: Useful (1)
Picture of Melanie Scott
Re: My Course and Course Category breadcrumbs not working?
Particularly helpful Moodlers

I've been hissing about this for weeks.  THANK YOU!

 
Average of ratings: -
Picture of Mohit Gupta
Re: My Course and Course Category breadcrumbs not working?
 

I am facing the same issue on 3.3.1 version, Hope it will fix. 

 
Average of ratings: -