Nav Drawer customization in Theme Fordson

Nav Drawer customization in Theme Fordson

by DEepak Fugo -
Number of replies: 4

Dear All,

I am using Moodle 3.5 and Fordson Theme.

I have a course defined and it has may topics under it. when ever a student logs in, they will get list of topics in NAVBAR DRAWER. It is not at all looking good. I want to remove the course and topics under nav drawer. and let alone other thing to get displayed like dashboard, site home and calendar. I know PHP and with little bit of searching and following the directory structure, I ended up at flat_navigation.mustache where the code of it is defined. if i remove 
{{# flatnavigation }}  It takes out the courses and topic inside the course page for student but it also hides the Nav drawer in front page.


Kindly help in resolving this issue.


Thx in adv smile

Average of ratings: -
In reply to DEepak Fugo

Re: Nav Drawer customization in Theme Fordson

by DEepak Fugo -

Hi Everyone,

Any clue about the nav drawer?

I need to restrict it. 


Thx in advance.

In reply to DEepak Fugo

Re: Nav Drawer customization in Theme Fordson

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

I understand your issue.  I too had this concern.

I am not using Fordson, so I am not sure if my solution will work for you.

I am using the normal Boost theme, and have added Collapsed Topics plug in.  What this does for me, once set up, is that the topics navigation in the Nav Drawer are gone, just as you wish.  In its place, students can click on a little "target" icon in the topics title bar, and switch to single topic mode. In this mode, students do see all the topics in the Nav Drawer.  When they switch back to "all topics" mode, where they can navigate topics in the main center, the topics are gone in the Nav Drawer.

I am one who believes that this is a great solution, and how Moodle should work.  Gareth has done a great job with his "Collapsed Topics" plugin to make this possible.

Here is a video that I made a while ago that illustrates what I am doing.