
There is no Drupal website with out a block. As a Drupal developer there are certain cases we need to create custom blocks programatically. While working in a project I faced an issue with a custom Drupal block creation in Drupal 6 version. I think some of you also faced the same situation,Custom block creation in Drupal 6 is not a big issue. I think the below code will help to handle the situation.