O'Reilly logo

Drupal 7 Development by Example Beginner's Guide by Kurt Madel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — developing a custom block for adding recipes

Now we will use the new Drupal 7 block hooks to add a custom block with a link to create new recipe content.

  1. First, open Aptana Studio, and navigate to the /sites/all/modules/custom folder in the Project Explorer tab of the Web perspective. Right-click on the custom folder, select New and then Folder as shown in the following screenshot. Then, enter d7dev_admin as the name of the folder, and click on the Finish button.
    Time for action — developing a custom block for adding recipes
  2. Next, we are going to create the necessary files for creating a Drupal module in our new d7dev_admin folder, by right-clicking on the folder, selecting New | File, entering ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required