blocks:profileselectorhtml

Profile Selector HTML block (Conditional content by profile selector)

Guides

This block displays concise HTML content depending on values found in the user profile. You can define a set of content alternatives, depending on the value tested in the profile field.

Not to be confused with the simpler HTML content on profile value block, which only performs a boolean test on a single value.

Feature summary

  • Multiple selectors
  • One rule and one content per selector
  • A “match none” content (no rule fulfilled)


Technical sheet

  • Component type: Block
  • Name: Profile Selector HTML
  • Technical name: block_profileselectorhtml
  • Functional family: Content accessories
  • Supported versions: :M41: to :M53:
  • Distribution: Public
  • Availability: Stable
  • GDPR compliance: >= 3.4.2 (with GDPR plugins)

Builds

Note: a “Failing” status does not necessarily mean that the plugin does not work. This status reflects the result of automated tests checking the code against Moodle's strict standards. We are continuously working on bringing all supported plugins progressively into compliance with these development rules.

Branch Continuous integration tests
405 CI status
501 CI status

Credits

  • Valéry Frémaux (valery@activeprolearn.com)- Development and tests
  • Florence Labord (florence@activeprolearn.com) : Documentation and functional review

Other blocks you may be interested in:

Back to plugins index - Back to catalogue index

blocks/profileselectorhtml.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki