Is there a way to hide breadcrumbs for a specific course?

Is there a way to hide breadcrumbs for a specific course?

wót Rahul S -
Anzahl Antworten: 3

Im using Moodle 2.8.5 in the essential theme, and I was wondering if there was a simple way I can hide the breadcrumbs nav bar inside a specific course, but not the others.

Background of the question:

Basically, I made 2 tabs on the header of the front page, and added the files which are opened by the tab dropdowns in a course called "front page tab info" so I could use the link from inside the course and add it to custom menu items, essentially linking the drop down items in the front page tabs to the url of the item inside the course, so something shows up when the drop down item is clicked in the tab. When the file opening up is a pdf, its fine, but the problem arises when I link a page just showing text within my moodle site. Moodle shows the breadcrumbs and the students will be able to see the course with all the files I have made for the tabs, and it just seems unprofessional. I want this to be hidden.

I have attached a picture if it helps

Anhang Example.JPG
Als Antwort auf Rahul S

Re: Is there a way to hide breadcrumbs for a specific course?

wót Farhan Karmali -
Nutzerbild von Core developers Nutzerbild von Plugin developers Nutzerbild von Testers

There is no setting that would let you do that directly , you may either hide the breadcrumbs totally using CSS or modify the course view renderer to not display it when the courseid is the particular course .. This would require coding in php

Als Antwort auf Farhan Karmali

Re: Is there a way to hide breadcrumbs for a specific course?

wót Rahul S -

Would you happen to know the CSS/PHP to help me with my problem? if not, thanks any ways for the input