local:moodlescript:language:hideblock
MoodleScript: HIDE BLOCK
MoodleScript Script Engine
Effect
Hides the instances of a block in a course.
Syntax
HIDE BLOCK <blocktype> IN <courseidentifier> HIDE BLOCK <blockidentifier> (todo)
Examples
HIDE BLOCK latest_news IN idnumber:U345654
HIDE BLOCK idnumber:"B203_52"
HIDE BLOCK current
Specific attributes
- blocktype: A block type (for example “latest_news”, “configurable_report”, etc.).
- courseidentifier: A course identifier
- blockidentifier: a unique block identifier (*)
Other defaults
None
Notes
(*) This assumes the “block identifiers” provided by the installation of certain third-party plugins are in place.
See also
local/moodlescript/language/hideblock.txt · Dernière modification : de 127.0.0.1
