How can I remove The "+Add Topics" Button

How can I remove The "+Add Topics" Button

by Melvin Talbi -
Number of replies: 3

Hi guys,


I'm using Moodle 3.3 and I try to remove the button "+Add Topics" on course Section for the assistant Role.


What is the name of this permision ?


Thanks For your Help big grin






Attachment Capture.PNG
Average of ratings: -
In reply to Melvin Talbi

Re: How can I remove The "+Add Topics" Button

by Sara Arjona Téllez -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Melvin!

There is no especial permission for this action (Add a topic), so for removing this button you will need to change your theme or your format course (depending on what fits better in your case).

Kind regards,

Sara

In reply to Melvin Talbi

Re: How can I remove The "+Add Topics" Button

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

The add topics link isn't separate to the rest of the course editing functions so you can't control it with a specific capability.

You can hide the link using CSS - but beware that you won't see it either!

Try adding this to your custom css

div#changenumsections {display: none;}
In reply to Jon Bolton

Re: How can I remove The "+Add Topics" Button

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

You say "For the assistant role". If you mean that you have someone helping in the course but you don't want them to be able to add topic sections, then you could consider giving them the Non-editing teacher role