Go Minimal with Drupal 7
When you start working on a new site, how do you start?
I am willing to bet that for many of you the first step on the install.php page in reality looks like this:

The only thing you really take notice of is the "Save and continue" button and quickly click it.
There is of course nothing wrong with that, the Standard installation profile is really nice. It creates a good basic site, enables modules that you will use plus a couple of content types, a vocabulary and basic image handling. Its definitely a decent starting point for many sites to build upon, without question.
Comes at a Price
That said, it does come at a price that you sooner or later is likely to have to pay. I discovered this especially as I got more experienced in using modules such as Features and started to work on some more complex site building ideas. While working on these ideas, I increasingly had the need to change things that Standard installation profile had set up as well as disable some modules there was no real need for. It wasn't to difficult to do, but it added extra work, as well as more things I needed to document if I was to reuse these things on other sites.
Another thing I discovered was that extending the Page and Article content types Standard comes with, was not really playing well with Features. Custom content types was much easier to export and maintain with it. This is something I also seen mentioned for Feature modules hosted on drupal.org, such as this issue comment from the author of the Debut Article project.
Go Minimal
That comment also mentioned using the Minimal installation profile, something I until then had conveniently ignored since I previously saw it as a delay to get into building my cool new features. How wrong I had been.

Armed with a lot of good arguments for testing Minimal I did. The first thing I noticed was that it only installed 10 modules instead of the 29 Standard installed. Of course, it also came without content types, taxonomy and image fields. It does let you add content types, but not add fields to it because the Field UI isn't enabled.
It simple comes with just the modules that practically every site needs. Yes, Update Manager is installed, but you can avoid that by unticking the check for updates options in the last installation step.
Perfect for Features
For me personally, starting to use the Minimal installation profile has helped me understand much more about the basics in Drupal. This is because I have been forced to really understand what all those extra 19 modules Standard installed do and are used for. It has also turned out to be the perfect way to really take advantage of the Feature module.
Now I am almost finished tweaking by Base feature modules that I will reuse on several sites I am working on. They are now lean and just enables the modules needed to make a live site tick. This means that site building modules such as the Field UI isn't enabled, its only needed when creating the features.
It also means I can create separate feature modules for each content type I need, as well as all the other things the Standard installation profile adds.
Basically, it gives me much more control over the sites I build and manage.
Summary
As I wrote in the beginning, there is absolutely nothing wrong with the Standard profile, it does what it is supposed to do. It gives especially new users a good solid base to take their first steps into the Drupal world with. I still use it sometimes when I quickly need to test something new, such as a module or theme, but not for real sites anymore.
However, treat is as a good demo profile. If you are serious about what you want to do with Drupal I really recommend you to take a good look at the Minimal installation profile. I can guarantee that you will have a very positive experience with it.
Comments
Patrik (not verified)
Fri, 01/20/2012 - 00:15
Permalink
Re: Go Minimal with Drupal 7
For me personally, starting to use botafoc.cat installation profile. This profile are include the tipical modules.
Kristoffer Wiklund (not verified)
Fri, 01/20/2012 - 09:26
Permalink
Re: Go Minimal with Drupal 7
To totally agree with you. The minimal installation is much nicer as you are not able to remove some of the things added with standard installation. I had som big problem with a site that had comments enabled (standard-profile has it enabled) and I didn't what it. But disabling comment module broke the site, so now I always goes minimal.
Veganh (not verified)
Fri, 01/20/2012 - 18:57
Permalink
Re: Go Minimal with Drupal 7
I like Drupal installation profiles. It makes development easy. I am using "Starter" drupal distribution.
Lars Olesen (not verified)
Sun, 01/22/2012 - 22:57
Permalink
Re: Go Minimal with Drupal 7
Thanks for this article. I have a couple of sites started out in the standard installation, which I am struggling with now. From the production sites, I have exported the functionality in features and uploaded the features again to the site. However, the features has not completely taken over e.g. the basic page and article content type which was installed by the standard profile. Do you know how it is possible to get features to overtake those content types?
tsvenson
Thu, 01/26/2012 - 13:41
Permalink
Re: Go Minimal with Drupal 7
Features can't really overtake the content types in the sense it takes control over them. To get the Basic Page and Article, that are create when you install using Standard profile, configuration into your feature, you need to use the Strongarm module. Then do the following:
Now Feature together with Strongarm will automatically try and find all settings for that content type(s) and they will in a few seconds show up on the right in the window in light blue, indicating they where automatically detected.
If you look in the Strongarm section you will notice that all variables ends with _article, indicating they are settings for the Article content type and _page for the Basic Page.
Hope that will get you started.
Lars Olesen (not verified)
Thu, 01/26/2012 - 14:51
Permalink
Re: Go Minimal with Drupal 7
I already successfully build the features using features and strongarm. However, now there is no delete button, and the content types are not removed even though I disable features. I cannot get my head around how to get rid of the content types again (off course I could delete them from the database, but that seems odd :))
tsvenson
Thu, 01/26/2012 - 17:38
Permalink
Re: Go Minimal with Drupal 7
Did you create the content type on the same site as you disabled features on? If so, you will have configuration in the database.
The same is true if you make any modifications to configurations that you have in features. When you save them, they will be written to the database. This is why the Features admin UI reports that you have overridden settings. The configuration in the database has highest priority as well.
Have you tried searching the issue queue for the Features module? Wouldn't surprise me if you will find a solution there.
NancyDu (not verified)
Thu, 01/26/2012 - 15:25
Permalink
Customizing the installation profile
I seem to have issues with both installation profiles. For example, I would rather use the Admin Menu module than Toolbar; and I always install things like Pathauto and Global Redirect. I took a look at the Standard profile and am seriously thinking about reworking it into my own profile, so I will have fewer standard steps to follow. I am, of course, open to advice on doing this.
tsvenson
Thu, 01/26/2012 - 17:46
Permalink
Re: Customizing the installation profile
As i wrote in the post, there is nothing wrong with the Standard profile, but when you want to build a production site it will at some point create extra work for you. I prefer the Administration Menu too and that means I will have to disable both the Toolbar and Shortcut modules. Small extra steps, but it ads up to extra unwanted work.
Have you tried the Minimal profile yet? In my experience, the modules and settings it comes with does not create these problems. It really makes it easy to quickly add for example the modules you list and get things the way you want it.
NancyDu (not verified)
Thu, 01/26/2012 - 18:03
Permalink
Re: Go Minimal with Drupal 7
Yes, I have used it several times. It has advantages and disadvantages, just like the other. What would be really cool is if you could do a dialog with it. "Do you want a content type defined?" or "Check the options below that you want." (Like Comment and Taxonomy). Or mybe it could ask if I'm blond (I am) and default to "air head" mode.
tsvenson
Thu, 01/26/2012 - 19:29
Permalink
Re: Go Minimal with Drupal 7
Completely agree about that a smart feature to quickly set up a content type would be very nice to have. Maybe something like the Views 3 interface for creating a new view. That was such an improvement over the old. Best though, it improved the experience not only for beginners, but for everyone.
Add new comment