-
Book Overview & Buying
-
Table Of Contents
Learning Drupal 6 Module Development
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.
"Sure, that sounds nice," one might say, "but why would someone need these?" Let's take a quick look at two...
Change the font size
Change margin width
Change background colour