Essential Theme - Hide forum posts and discussions from custom menu

Essential Theme - Hide forum posts and discussions from custom menu

de 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

Promeyo de puntuacions: -
In reply to Stephen Livesey

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

de Mary Evans -
Imachen de Core developers Imachen de Documentation writers Imachen de Peer reviewers Imachen de Plugin developers Imachen de 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

de 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

de Mary Evans -
Imachen de Core developers Imachen de Documentation writers Imachen de Peer reviewers Imachen de Plugin developers Imachen de 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