In the last post I demonstrated creating a very basic install profile in Drupal 7. It was more or less a stripped down version of the standard profile with a few very minor additions.
I've been getting some great comments on my posts and one I wanted to note was from @david regarding the Profiler project. I've not had a chance to use it yet but it looks very promising. The profiler module provides an improved API and tools to vastly simplify what's necessary in writing your install profiles. While I would guess some more complex tasks still require you to use the raw Drupal API, this tool looks like it could give you a huge head start.
So, in the previous post, one of the additions I wanted to make but couldn't, was to create the default client user. The client name and email address will obviously differ on all sites we build. For this we need to add a new step in the install process to allow us to configure the client account prior to it's creation. All of the code from here on out will sit in our .profile file (recall that this is equivalent to a .module file, but for install profiles).
Tai Travis (Taiger) on 9 Drush links to take you from beginner to advanced.
hadfield on 9 Drush links to take you from beginner to advanced.
Tai Travis (Taiger) on 9 Drush links to take you from beginner to advanced.
mobility scooters on Creating Custom Triggers in Drupal
hadfield on Features Part 2 - Managing your feature
Capi Etheriel on Features Part 2 - Managing your feature