HTML per role block: Difference between revisions
From MoodleDocs
HTML per role block | |
---|---|
Type | Block |
Set | N/A |
Downloads | https://moodle.org/plugins/block_rolespecifichtml |
Issues | https://github.com/vfremaux/moodle-block_rolespecifichtml |
Discussion | https://moodle.org/mod/forum/view.php?id=44 |
Maintainer(s) | Valéry Frémaux |
m (Added link to spanish translation of page) |
Mary Cooch (talk | contribs) mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
|float = right | |float = right | ||
}} | }} | ||
*The HTML per role block is a contributed block based on the standard HTML block and which allows for different messages to be displayed to different roles. | *The HTML per role block is a contributed block based on the standard [[HTML block]] and which allows for different messages to be displayed to [[Standard roles|different roles]]. | ||
*Once installed, it can be added to a course from the blocks drop down menu in a similar way to a standard HTML block. | *Once installed, it can be added to a course from the blocks drop down menu in a similar way to a standard [[HTML block]]. | ||
*In the configuration settings, you can select the context of the block and you can select which message will appear if a user has more than one role: the message for the higher role, or messages for all roles the user has: | *In the configuration settings, you can select the context of the block and you can select which message will appear if a user has more than one [[Standard roles|role]]: the message for the higher role, or messages for all roles the user has: | ||
[[File:HTMLRolesetup2.png|center|Setting up different messages according to role]] | [[File:HTMLRolesetup2.png|center|Setting up different messages according to role]] | ||
*There is space to include a message visible to all roles, and then to specify different messages for the roles of manager, editing teacher, non-editing teacher and student. | *There is space to include a message visible to all roles, and then to specify different messages for the roles of manager, editing teacher, non-editing teacher and student. | ||
*If custom roles have been created, the block will also display a space for a message to this custom role. | *If [[Creating custom roles|custom roles]] have been created, the block will also display a space for a message to this custom role. | ||
==See also== | |||
*[[HTML block]] | |||
Latest revision as of 13:25, 4 September 2016
- The HTML per role block is a contributed block based on the standard HTML block and which allows for different messages to be displayed to different roles.
- Once installed, it can be added to a course from the blocks drop down menu in a similar way to a standard HTML block.
- In the configuration settings, you can select the context of the block and you can select which message will appear if a user has more than one role: the message for the higher role, or messages for all roles the user has:
- There is space to include a message visible to all roles, and then to specify different messages for the roles of manager, editing teacher, non-editing teacher and student.
- If custom roles have been created, the block will also display a space for a message to this custom role.