Moodle Plugins directory: HTML (per role) | Moodle.org

HTML (per role)
Blocks ::: block_rolespecifichtml
Maintained by
Valery Fremaux
Allows distinct roles to get differetn content within an HTML bloc at the same layout location.
Latest release:
46 sites
10 downloads
16 fans
Current versions available: 10
This simple block allows to display distinct information for each role involved within a course workplace.
The Moodle 2.x versions are the result of the French state level project "ENTLibre 2.0" Of the National Funding program "Investissement d'Avenir"
Contributors
Valery Fremaux (Lead maintainer)
Please login to view contributors details and/or to contact them
i'm using moodle 2.7 ..and i think it's 2.2 plugin.
This is a great tool! I also would like to see this used on the MOODLE Dashboard. Is there something that I could change in order to get it working there as well?
Thanks!
I am just wondering - an it might nog be possible - but we are trying to place an image in this block and the image doesn't want to appear.
The block only seems to show text. Is that right?
We have it installed on Moodle 2.9 and maybe I am missing something.
Thank you very much.
Gemma
As i need tracking around 140 plugins now, and Moodle.org has not yet an automated gate for pushing plugin updates. I may advise you to track the last state of the plugins at http://github.com/ vfremaux. All plugins are daily worked with now an industrial process and continuous integration effort. Consider STABLE branchs as version reference. We hope the Moodle.org on day open a remote push for Zips that can close the chain, but at the moment we have not.
Cheers.
It turns out that the plugin works fine. There is, however, a drop-down menu that controls the 'Context to check'. The options are system level or course level. If you have problems with roles not seeing their content please adjust that setting to enable it for your users. Cheers!
if (empty($this->content->text)) $this->content->text = ' ';
Found in block_rolespecifichtml.php, which is currently on line 104.