error/moodle/notlocalisederrormessage: Difference between revisions
From MoodleDocs
Colin Fraser (talk | contribs) No edit summary |
Colin Fraser (talk | contribs) |
||
Line 3: | Line 3: | ||
==Function isteacherinanycourse() was removed, please use capabilities instead!== | ==Function isteacherinanycourse() was removed, please use capabilities instead!== | ||
An attempt to bring a Moodle 1.9 solution to v2.0 ending in failure. The function filtered Teachers at the front page and allowed them to view hidden news items. | An attempt to bring a Moodle 1.9 solution to v2.0 ending in failure. The function filtered Teachers at the front page and allowed them to view hidden news items. Obviously there is another solution, that is develop a new Role for some people. Base the new Role on Authenticated User and just give the Permissions required for what you want them to be able to do. |
Latest revision as of 06:33, 3 October 2010
CLS-eltchyi1
Function isteacherinanycourse() was removed, please use capabilities instead!
An attempt to bring a Moodle 1.9 solution to v2.0 ending in failure. The function filtered Teachers at the front page and allowed them to view hidden news items. Obviously there is another solution, that is develop a new Role for some people. Base the new Role on Authenticated User and just give the Permissions required for what you want them to be able to do.