MoodleScript: SHOW BLOCK

MoodleScript Script Engine

Effect

Shows the instances of a block in a course.

Syntax

  SHOW BLOCK <blocktype> IN <courseidentifier>
  SHOW BLOCK <blockidentifier> (todo)

Examples

  SHOW BLOCK latest_news IN idnumber:U345654
  SHOW BLOCK idnumber:"B203_52"
  SHOW BLOCK current

Specific attributes

Other defaults

None

Notes

(*) This assumes the “block identifiers” provided by the installation of certain third-party plugins are in place.

See also

Hide a block

Back to the language index - Back to the component index