New role not showing up on front page.

New role not showing up on front page.

by Faizal R -
Number of replies: 4

I'm using 2.2. I duplicate role "Teacher" to "Main Teacher". I assign 1 teacher to "Main Teacher" role.

In front page courser list, only Teacher show up. I want Main Teacher to show up as well.

How to do this?

Average of ratings: -
In reply to Faizal R

Re: New role not showing up on front page.

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

When you define a role in Moodle 2.0+, you have to say which sorts of contexts it can be assigned in. Make sure that your 'Main teacher' role is allowed to be assigned in the System context.

Average of ratings: Useful (1)
In reply to Tim Hunt

Re: New role not showing up on front page.

by Faizal R -

"Make sure that your 'Main teacher' role is allowed to be assigned in the System context."

How do I do this?

Thanks.

 

In reply to Faizal R

Re: New role not showing up on front page.

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

See section 1 of the documentation here http://docs.moodle.org/22/en/Creating_custom_roles and in the screenshot herehttp://docs.moodle.org/22/en/File:customrole02.png you would need to tick "system"

Average of ratings: Useful (1)