Moodle Plugins directory: HTML (on profile field selector) | Moodle.org

HTML (on profile field selector)
Blocks ::: block_profileselectorhtml
Maintained by
Valery Fremaux
This block is a combined variant of the profilespecifichtml block and the editablecontenthtml block.
It provides way to distribute specific content to several classes of users splitted by matching rules upon one or two profile fields (standard or customized).
Latest release:
27 sites
1 downloads
3 fans
Current versions available: 1
Useful links
Contributors
Valery Fremaux (Lead maintainer)
Wafa Adham: Co-developer
Please login to view contributors details and/or to contact them
from :
if (!$context = get_context_instance_by_id($this->instance->parentcontextid)) {
to:
if (!$context = context::instance_by_id($this->instance->parentcontextid)) {
Change :
if ($parentcontext = get_context_instance_by_id($birecord_or_cm->parentcontextid)) {
To:
if ($parentcontext = context::instance_by_id($birecord_or_cm->parentcontextid)) {