O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building powerful and robust websites with Drupal 6

Book Description

In Detail

Drupal is a hugely popular and widely celebrated open-source Content Management System that is day-by-day becoming the first choice of people for building blogs and other websites. Sir Tim Berners-Lee (the father of the Internet), Hillary Clinton, and many others utilize Drupal to fulfil their online requirements.

Drupal is an elegantly designed, well-supported and flexible platform that anyone can use in order to create their own website. With such a powerful tool at your fingertips there is no longer any need to pay professionals to design a site when you can do the same job yourself absolutely free. All it takes is a bit of practice!

This book meets the booming demand for well presented, clear, concise, and above all practical information on how to move from knowing you want a website all the way through to designing and building it like a pro, and finally successfully managing and maintaining it.

Experienced technical author David Mercer expertly guides the reader through all the stages of building a professional website in a plain, articulate manner. Aimed in particular at beginners to Drupal, this book will allow readers to advance rapidly up the learning curve to the point where they can tackle any problem with confidence.

What you will learn from this book?

  • Plan and consider various design aspects of your site

  • Install, set up, and configure a Drupal development machine

  • Find your way around the vast array of Drupal settings with ease

  • Add and work with modules to enhance your website's functionality

  • Control and manage your site's content

  • Deal with security issues, users, and access control

  • Implement a customized interface for your website

  • Add powerful new features and learn advanced techniques

  • Deploy, manage, and maintain your website


Written in the same style as the original Drupal title, this book is a pragmatic look at the steps necessary to get a website up and running. Drawing on years of writing experience, David Mercer utilizes a friendly, engaging style that is both clear and concise - perfect for the Drupal newbie.

Who this book is written for?

This book is for people with little or no experience in website design, people who are not familiar with PHP, MySQL or HTML, and above all people with little to no experience in using Drupal. Even intermediate Drupal users will find this book of interest although it is specifically aimed at pushing beginners up the learning curve.

Table of Contents

  1. Building powerful and robust websites with Drupal 6
    1. Building powerful and robust websites with Drupal 6
    2. Credits
    3. About the Author
    4. About the Reviewer
    5. Preface
      1. What This Book Covers
      2. What You Need for This Book
      3. Who is This Book for
      4. Conventions
      5. Reader Feedback
      6. Customer Support
        1. Errata
        2. Questions
    6. 1. Introduction to Drupal
      1. Drupal — An Overview
      2. How Drupal Came to Be
      3. What Drupal Has to Offer
      4. Uses of Drupal
      5. Building a Drupal Site
      6. Planning Your Site
        1. Analyzing the Proposed Solution
          1. Feasibility
          2. Phone a Friend
          3. Critical versus Desirable Criteria
      7. The Drupal Community
        1. Documentation
        2. Download
        3. Support
        4. Forum
        5. Contribute
        6. Contact
      8. The Drupal License
      9. Summary
    7. 2. Setting Up The Development Environment
      1. The Drupal Environment
      2. Obtaining and Installing PHP, Apache, and MySQL
      3. Obtaining and Installing Drupal
      4. Troubleshooting Common Problems
      5. Drupal's Post-Installation Status
      6. Administrator's Overview
      7. Creating a Basic Drupal Page
      8. Summary
    8. 3. Basic Functionality
      1. Adding Modules
      2. Third-Party Modules
        1. Downloading Modules
        2. Installing Modules
      3. Configuring Modules
        1. Forum
        3. Search
      4. Working with Blocks
        1. Adding Blocks
        2. Configuring Blocks
      5. Menus, Primary and Secondary Links
      6. Summary
    9. 4. Site Configuration
      1. Before We Start
      2. Clean URLs
      3. Error Reporting
      4. File System and File Uploads
      5. Logging and Reports
      6. Site Information
      7. Site Maintenance
      8. Summary
    10. 5. Access Control
      1. Planning an Access Policy
      2. Roles
      3. Permissions
      4. Users
        1. Administering Users
        2. User Settings
      5. Access Rules
      6. Summary
    11. 6. Basic Content
      1. Content Overview
      2. Content Types
      3. Working with Content
        1. Working with Content Types
        2. Creating Content
        3. Administering Content
      4. Content-Related Modules
        1. Aggregator
        2. Book
      5. Summary
    12. 7. Advanced Content
      1. Taxonomy
        1. What and Why?
        2. Implementing Controlled Taxonomies in Drupal
          1. Introduction to Vocabularies
          2. Dealing with Terms
          3. Posting Content with Categories Enabled
          4. Hierarchies
          5. Content Structure
      2. Implementing Thesuari in Drupal (Tags)
      3. Content Construction Kit (CCK)
        1. Installing CCK
        2. Working with CCK
          1. Adding Fields
          2. Adding Groups
          3. Displaying Fields
        3. Export & Import
        4. Adding Contributed Fields
      4. HTML, PHP, and Content Posting
        1. Input Formats and Filters
        2. HTML
        3. Creating a Feature-Rich Page
        4. Posting a Feature-Rich Page
      5. Summary
    13. 8. Drupal's Interface
      1. Planning a Web-Based Interface
        1. Visual Design
        2. Language
        3. Images
      2. CSS
      3. Themes
        1. Theme Anatomy
        2. Choosing a Base Theme
        3. Configuring Themes
        4. Customizing Themes
          1. Images
          2. Colors
          3. Page Modifications
      4. Summary
    14. 9. Advanced Features and Modifications
      1. OpenID
      2. Actions and Triggers
      3. Language Support
        1. Localization
        2. Content Translation
      4. Performance
        1. Caching
        2. Throttling
      5. Dynamic JavaScript Features
        1. jQuery
          1. jQuery Basics
          2. jQuery in Action
        2. Scrolling News Ticker
          1. Obtaining the Ticker
          2. Adding the Content
      6. Summary
    15. 10. Managing Your Website
      1. Backups
        1. phpMyAdmin
        2. The mysqldump Utility
      2. Cron and Scheduled Tasks
        1. The Crontab
        2. Windows Scheduled Tasks
      3. Website Activities
        1. Path and Pathauto
        2. Uninstalling Modules
        3. Maintaining Users
        4. Search Engine Optimization and Website Promotion
      4. Upgrades
        1. Upgrading Drupal
        2. Upgrading Modules
      5. Summary
    16. A. Deployment
      1. Getting Ready to Deploy
              1. Site Checklist
        1. Make Sure the Host is Ready
        2. Get the Files Ready
        3. Get the Database Ready
      2. Transfer the Files
      3. Setting Up the Site
        1. Set Up the Files
        2. Set Up the Database
        3. Configure the Site
        4. Access Problem?
      4. Testing
      5. Summary