Essential Theme - Hide forum posts and discussions from custom menu

Essential Theme - Hide forum posts and discussions from custom menu

by Stephen Livesey -
Number of replies: 4

Hello,

Could anyone advise on how I can remove the 'Forum Posts' and 'Discussion' items from the custom menu in the Essential theme? 

p

Essential version - 2.7.9.3 (Build: 2014111003)

Moodle version - 2.7.3

Cheers

Stephen

Average of ratings: -
In reply to Stephen Livesey

Re: Essential Theme - Hide forum posts and discussions from custom menu

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

There is an option in the Essential custom settings for that user menu, where you can choose which links are displayed. It's probably in Essential > General settings if I am correct?

In reply to Mary Evans

Re: Essential Theme - Hide forum posts and discussions from custom menu

by Stephen Livesey -

Hi Mary,

I thought there was a setting too but I can't see it on any of the setting pages for essential - I think it's an option in elegance. 

Any idea where I would remove it from the .php files? 

Cheers

Stephen 

In reply to Stephen Livesey

Re: Essential Theme - Hide forum posts and discussions from custom menu

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

I think this is it...found in essential /renderers/core_rendererer.php here is link to Gareth's GitHub

https://github.com/gjb2048/moodle-theme_essential/blob/MOODLE_27/renderers/core_renderer.php#L661-L672

Try blocking it out using // in front of each line to see if it removes it?

Cheers

Mary

Average of ratings: Useful (1)
In reply to Mary Evans

Re: Essential Theme - Hide forum posts and discussions from custom menu

by Stephen Livesey -

Fantastic! 

Thanks Mary, much appreciated. 

Cheers

Stephen