Outils pour utilisateurs

Outils du site


blocks:conditional_html

Conditional HTML block

Presentation

This block places a content panel in the course (like the HTML block) whose display is driven by a conditional evaluation written as an evaluable MoodleScript expression.

This block works with the Moodlescript scripting engine, using its expression evaluation feature.

The guides

Feature summary

  • WYSIWYG content editing
  • Conditional display
  • Flexible expression syntax on context data

Other blocks you may be interested in


Technical sheet

  • Component type: Block
  • Name: Conditional HTML
  • Technical name: block_conditionalhtml
  • Functional family: Content accessories
  • Supported versions: :M41: to :M53:
  • Distribution: Public
  • Availability: Stable
  • GDPR compliance: >= 3.9

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

Back to plugins index - Back to catalogue index

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki