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

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

Rahul S發表於
Number of replies: 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

附件 Example.JPG
評比平均分數: -
In reply to Rahul S

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

Farhan Karmali發表於
Core developers的相片 Plugin developers的相片 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

In reply to Farhan Karmali

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

Rahul S發表於

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