Q:

Placing a Module to a Certain Block in Drupal 7

I'm new to drupal and familiar with Joomla and Wordpress. I'm little bit confused with how drupal works when placing some kind of module to a certain block in drupal 7. Say that I want to place the search box in a footer block of the theme, what are the steps for doing that?. Or may be is it depending on the theme how modules will be placed. Please guide...
Thanks 

A:

Drupal 7 have "Regions" , it's like a grid , you can add block in regions. You can add block via admin interface /admin/structure/block/add , you a part for regions who can receive your block. 
Also if you need to create a custom block programmatically, you can follow this link https://drupal.stackexchange.com/questions/5582/easy-way-to-create-blocks-programmatically 

