Book Image

Learning Drupal 6 Module Development

Book Image

Learning Drupal 6 Module Development

Overview of this book

Table of Contents (14 chapters)
Learning Drupal 6 Module Development
About the Author
About the Reviewers

Chapter 9. An Installation Profile

In this last chapter, we will build an installation profile. We will take the base Drupal distribution, add the modules and theme we created here, and build a custom distribution of Drupal.

In this chapter, we will focus on the following topics:

  • Setting up a custom distribution

  • Creating an installation profile

  • Selecting the modules to be installed

  • Adding our custom content type from Chapter 4

  • Configuring a trigger in the installer

  • Adding additional steps to the installer

  • Using the Forms API in an installer

  • Specifying the default theme

  • Building a final installation package

This lengthy list might make the task sound difficult. In fact, creating a custom installation profile is a straightforward process.

Introducing Installation Profiles

An installation profile is a special installer that includes prepackaged modules and themes, and can configure Drupal for a specific purpose. For example, it can install and configure custom modules and themes and even set system preferences...