Disable menu items in moodlecloud

Disable menu items in moodlecloud

by Arturas G -
Number of replies: 4

Dear moodle community,

How can I hide/disable some menu items (calendar and dashboard) from home page menu (left main block in boost theme)?

Any suggestions would be appreciated, because didn't work what I found in this forum.

Thank you very much.


Average of ratings: -
In reply to Arturas G

Re: Disable menu items in moodlecloud

by Jean CA -

You can do that directly in css 

I did from a extended theme of Boost

But you could also do directly from the theme boost, I suppose, or from your admin / Theme (css part)


/* Pour cacher le calendrier */
#nav-drawer a.list-group-item.list-group-item-action[data-key='calendar']{
display: none;
}

/* Pour cacher le dashboard */
#nav-drawer a.list-group-item.list-group-item-action[data-key='dashboard']{
display: none;

In reply to Jean CA

Re: Disable menu items in moodlecloud

by Arturas G -

Dear Jean CA,

It worked for the calendar. But Dashboard still does not disappear. Any suggestions ?

Thank you very much.

Arturas

In reply to Arturas G

Re: Disable menu items in moodlecloud

by Jean CA -

Hello

You can maybe try that :

/* To hide dashboard menu item on theme boost */ 
#nav-drawer a.list-group-item.list-group-item-action[data-key='myhome']{
display: none;


Have a nice day