HTML (on profile field selector)
Maintained by
Plugins ActiveProLearn, 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).
Comments
Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.
Change :
if ($parentcontext = get_context_instance_by_id($birecord_or_cm->parentcontextid)) {
To:
if ($parentcontext = context::instance_by_id($birecord_or_cm->parentcontextid)) {
from :
if (!$context = get_context_instance_by_id($this->instance->parentcontextid)) {
to:
if (!$context = context::instance_by_id($this->instance->parentcontextid)) {