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
Credits
About the Author
About the Reviewers
Preface

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—all from the installer. So the first time you log in after installation your environment is ready.

Building an installation profile is done on two levels:

  • The file system: Starting from the base Drupal system, we will have to move some files around to get things configured for installation.

  • The .profile script: Just putting the files in the right place isn't enough. We will need to build a special .profile script that will perform installation tasks.

We will perform both of these. In truth, though, the file system work is simple. Most of our time will be spent generating a .profile.

Why Use Installation Profiles?

"Sure, that sounds nice," one might say, "but why would someone need these?" Let's take a quick look at two...