Drupal - Add a block to a region

The Drush extras project has commands for administering blocks.

Short instructions (following their README.txt):

  1. Install this Drush add-on:

    drush dl drush_extras
    
  2. Determine desired module name and delta of block, and the desired region name and weight for adding the block:

    drush block-show
    
  3. Add the block to the region:

    drush block-configure --module=block_module --delta=block_delta \
      --region=region_name --weight=-12
    

More instructions via:

drush help block-show
drush help block-configure
drush help block-disable

Tags:

Drush

7