Installing Your PHPTemplate Theme

If you've got your PHPTemplate engine installed, the next step is to install a theme for it, so you can finally get rid of the bleary blue and gray in the original Drupal install.

The process for this is a lot like the process for installing PHPTemplate, or for installing any Drupal module, for that matter. First, visit the Drupal themes page and look through the sample images till you find a theme you like. Remember to select on that's based on PHPTemplate, or it won't work with your installation.

(Note: Drupal comes with a template engine called "xtemplate", so any theme written for that will work as well. Alternatively, if you find a theme that you just have to use, and it's not written for PHPTemplate, you can just find the required engine and install it first...the process is the same as the one you used to install PHPTemplate.)

Once you've selected your theme (I like the one called "Blix" myself), go ahead and download it from the site. Then, uncompress it with your favorite unzip utility.

Now, use your FTP program to upload the folder (with all the files in it, of course) to the "themes" folder of your Drupal site. Note that before, to install the engine, we uploaded a folder to the "engines" folder inside your "themes" folder...if you've still got that FTP session open, make sure you go one level up to the "themes" folder, or the theme won't work.

That's pretty much it. Now, open up a browser and log in to your site as admin, and click on "administer" and then "themes" ...you should see the new theme on your list. I think the newest themes show up on top.

You can choose "enable" to make the theme available, and "default" if you want it to be the default theme. The default theme is the one that's used when any random person visits your site, and for registered users who don't specify a theme...registered users can specify any of the "enabled" themes in their profiles, if you'd like to give them some options for how they'd like the site to look for them (once they've logged in).

There's a lot of customization available if you're willing to dig in the PHP code, or just mess around with the CSS for each theme, but that's more involved...for now, this will give you a quick and dirty way of getting your site to look better than the default Drupal install.