Join Chris Charlton for an in-depth discussion in this video Installing Drupal 6 using Acquia, part of Drupal 6: Creating and Editing Custom Themes.
- View Offline
Before we can do any work today, we need to install Drupal. Installing Drupal is already covered in depth in the Drupal Essential Training course, which is also available on Lynda.com. In Essential Training, Drupal was set up using WAMP or MAMP, which works just fine, but I will be installing Drupal using the new Acquia Drupal Control Panel for Windows, which is actually a very new exciting thing, because now you don't have to do any configurations to your machine to get Drupal running locally.
You should know that using either method will work just fine to follow along in this course. So two things will be needed to be downloaded. The first is Drupal 6, and you can find that at drupal.org. You can just click Download Drupal, and then you will want to open that zip file. The second item to download is the Acquia Drupal Stack Installer. This is the Control Panel I was mentioning, and that's available at acquia.com, in their Downloads section. So when you visit Downloads, there would be the Acquia Drupal Stack Installer for Windows and Mac.
Choose your appropriate platform, click Download Now, and then install that application. I have already installed mine on Windows, and here is what the Control Panel looks like. Everything seems to running fine, because we get the green lights for both Apache and MySQL. Essentially, Acquia Drupal's Control Panel allows Drupal to be installed easily, and includes all the necessary pieces that are required to run Drupal. So that's Apache, MySQL, and PHP, all encompassed in this one application.
So to get Drupal 6 installed, I can actually just click on the localhost, which will list any of my multiple sites that I install locally. I want to click More, and by clicking More I am brought to this list of sites. I am going to click Import, because I will be creating a new Drupal 6 site, not using the Acquia version of Drupal. So you can click Import if you already have a Drupal site ready, or if you want to install something that you have been working on.
So I am actually going to Browse for my files. Now, I have already put my drupal-6 folder inside my Sites folder, so I click My Folder> drupal-6, and I will actually create a new database. If you already have a database, you can import it now. So this one I will call lynda_drupal_ themes, and I will actually place it at a lynda-drupal-themes folder. And as you can see, we get a preview at the bottom of where that's actually going to live on our local machine.
Notice I didn't add a .com or .net. This is not necessary as it's only going to run locally. Click Import. It's now restarting the appropriate services. Your browser's automatically open, and we are now brought to the Installation screen for Drupal 6. So I am going to click Install Drupal. So I am entering a site address that is not going to really be used since it's going to run only locally. And I have to put in a Username and an E- mail, plus a Password for my first user.
So I am just going to use password as my Password. Make sure that the Default time zone settings are set, and we also want to make sure that we Enable Clean URLs. If you are not able to set these settings, then you are missing an important file called Htaccess. So make sure that you have actually copied that over. We will click Save and Continue. Now, Drupal has finished the installation, we can visit the site. Now, since Drupal is installed, we are logged in, we can now start getting Drupal Themed.
Even though we use the Acquia Drupal Stack Installer here, your MAMP or WAMP setup would be just fine. All we need is a Drupal 6, fresh installed, so we can actually theme it.
- Setting themes and theme permissions
- Using the Color Module to change color schemes
- Building sub-themes
- Understanding templates
- Applying themes to pages, nodes, and blocks