The mdl_block_instance is what you want to work with
blockid = the type of block you want, specified in mdl_block
pageid = the course id of the course you want the block displayed
position = r or l (right or left)
weight = display order 0 for the top, 1 for the second, etc
visible = 0 or 1 1=visible 0=hidden
Blocks
Custom Blocks on all courses by default
This discussion has been locked so you can no longer reply to it.