Custom Blocks on all courses by default

Re: Custom Blocks on all courses by default

by Miguel Santos -
Number of replies: 0
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