packt

Packt: Creating Our First Module using Drupal 6 (Part2)

Learning Drupal 6 Module DevelopmentLearning Drupal 6 Module Development
Today Packt has published the second part in my series on creating a first Drupal 6 module. In this installment, I walk though the process of implementing hook_block(). Here's Packt's summary:

In the first part of this 2-part article series we had created a basic module that uses hook_block() to add block content and installed this basic module. In this article by Matt Butcher, we are going to extend the module's functionality. We will add a few new functions that retrieve and format data from Goodreads.

As with the previous part, this has been abstracted from Chapter 2 of Learning Drupal 6 Module Development.

If you missed the first part, start here.

Packt: Creating Our First Module using Drupal 6 (Part1)

Packt has published an article of mine on beginning Drupal 6 module development. In the article, I cover the process of writing a first module (it's based on Chapter 2 of Learning Drupal 6 Module Development). Here's the intro from the article:

Creating Our First Module using Drupal 6 (Part1)

In this two-part article series by Matt Butcher, we will create our first Drupal module. This article assumes basic knowledge of Drupal module development. Our first module will make use of an existing web service to pull in some XML data, format it, and display it as a block in the site's layout.

We will cover the following topics in this article:

  • Creating the .info and .module files
  • Creating a new module
  • Using basic hooks
  • Installing and configuring the module
  • Using important Drupal functions

Read it all: http://www.packtpub.com/article/creating-our-first-module-using-drupal6-...

Packt's Author of the Year Award


Packt has opened voting for their first Author of the Year Award. This year, Packt has published some great books, including many on Drupal. Got a favorite Packt book or author? Head over there and vote.

http://authors.packtpub.com/content/author-award

Syndicate content