You are previewing Beginning Drupal 7.
O'Reilly logo
Beginning Drupal 7

Book Description

This book focuses on the nontechnical user who is responsible for building, maintaining, and managing Drupal web sites. The book covers why you should consider using Drupal when building a new web site, what Drupal is, installing and configuring Drupal, creating and managing content, managing users, adding functionality to your web site through Drupal modules, and more advanced topics on using themes, panels, and views. By reading this book, you will:

  • Understand why you should use Drupal and the power of the platform.

  • Quickly build confidence in your ability to use Drupal.

  • Gain the knowledge necessary to build, deploy, and manage web sites of moderate complexity on Drupal 7.

Table of Contents

  1. Copyright
  2. About the Author
  3. About the Technical Reviewer
  4. Acknowledgments
  5. Introduction
  6. 1. Introduction to Drupal
    1. 1.1. Content Management Systems
      1. 1.1.1. Drupal
      2. 1.1.2. Drupal Core
      3. 1.1.3. Contributed Modules
      4. 1.1.4. Drupal Themes
    2. 1.2. Creating Content
    3. 1.3. Summary
  7. 2. Creating and Managing Content
    1. 2.1. Understanding the Basics
    2. 2.2. Creating Content in Drupal
      1. 2.2.1. Teasers and Full Nodes
    3. 2.3. Editing Content
    4. 2.4. Other Content Options
      1. 2.4.1. Menu Settings
      2. 2.4.2. Revision Information
      3. 2.4.3. URL Path Settings
      4. 2.4.4. Comment Settings
      5. 2.4.5. Authoring Information
      6. 2.4.6. Publishing Options
    5. 2.5. Deleting Content
    6. 2.6. Finding Content
    7. 2.7. Summary
  8. 3. Creating and Managing Users
    1. 3.1. Users, Roles, and Permissions
    2. 3.2. User Accounts
    3. 3.3. Configuring User Account Settings
    4. 3.4. Creating Roles
    5. 3.5. Assigning Permissions
    6. 3.6. Creating User Accounts
    7. 3.7. User Generated Accounts
    8. 3.8. Resetting User's Passwords
    9. 3.9. Summary
  9. 4. Taxonomy
    1. 4.1. Taxonomy Overview
    2. 4.2. Creating Vocabularies
    3. 4.3. Assigning a Taxonomy Vocabulary to a Content Type
    4. 4.4. Selecting a Taxonomy Term when Creating Content
    5. 4.5. Creating Human- and Search-Engine-Friendly Lists
    6. 4.6. Hierarchical Terms
    7. 4.7. Assigning More Than One Vocabulary
    8. 4.8. Summary
  10. 5. Creating Menus
    1. 5.1. Ordering From the Menu
    2. 5.2. Adding an Item to a Menu
      1. 5.2.1. Adding a Content Item to a Menu
      2. 5.2.2. Adding a Menu Item for an External Page
    3. 5.3. Creating a New Menu
    4. 5.4. Summary
  11. 6. Installing Themes
    1. 6.1. How a Drupal Theme Works
    2. 6.2. Finding a New Theme
    3. 6.3. Installing a Theme
    4. 6.4. The Administration Theme
    5. 6.5. Configuration Options
    6. 6.6. Summary
  12. 7. Drupal Blocks
    1. 7.1. Blocks, Blocks, and More Blocks
    2. 7.2. Making Blocks Appear on Pages
    3. 7.3. Finding the List of Available Blocks
    4. 7.4. Re-Arranging Blocks
    5. 7.5. Reassigning and Deactivating Blocks
    6. 7.6. Configuring Blocks
    7. 7.7. Using Blocks from Contributed Modules
    8. 7.8. Creating Custom Blocks
    9. 7.9. Summary
  13. 8. Drupal Modules
    1. 8.1. Contributed Modules
    2. 8.2. How to Download, Install, and Configure a Module
    3. 8.3. Configuring Modules and Setting Permissions
    4. 8.4. Enabling Other Modules
      1. 8.4.1. Disabling a Module
      2. 8.4.2. Upgrading a Module
      3. 8.4.3. Uninstalling a Module
    5. 8.5. The Top Eleven Modules
      1. 8.5.1. Content Construction Kit (CCK)
      2. 8.5.2. Views
      3. 8.5.3. Panels
      4. 8.5.4. Imagecache
      5. 8.5.5. Nicemenus
      6. 8.5.6. Nodequeues
      7. 8.5.7. WYSIWYG
      8. 8.5.8. Pathauto
      9. 8.5.9. Webform
      10. 8.5.10. Backup and Migrate
      11. 8.5.11. Ubercart
    6. 8.6. Summary
  14. 9. Enabling Interactive Capabilities
    1. 9.1. Blogging
      1. 9.1.1. Enabling Blogs
      2. 9.1.2. Creating a Blog Entry
      3. 9.1.3. Displaying Blog Entries
      4. 9.1.4. Adding a List of the Most Recent Blog Entries
    2. 9.2. Forums
      1. 9.2.1. Setting Up Your First Forum
    3. 9.3. Polls
      1. 9.3.1. Creating Your First Poll
    4. 9.4. Web Forms
      1. 9.4.1. Creating a Webform
    5. 9.5. Summary
  15. 10. Content Types
    1. 10.1. The Basic Page and Article Content Types
    2. 10.2. Defining a Custom Content Type
    3. 10.3. Creating a Custom Content Type
      1. 10.3.1. Customizing Your Form
    4. 10.4. Other Field Types
      1. 10.4.1. Radio Buttons
      2. 10.4.2. Check Boxes
      3. 10.4.3. Select Lists
      4. 10.4.4. File Uploads
      5. 10.4.5. Text Area
      6. 10.4.6. Numeric Fields and Other Field Types
    5. 10.5. Formatting the Output of a Custom Content Type
    6. 10.6. Summary
  16. 11. Views
    1. 11.1. Installing the Views Module
    2. 11.2. Creating Your First View
      1. 11.2.1. Views Settings
      2. 11.2.2. Basic Settings
        1. 11.2.2.1. Name
        2. 11.2.2.2. Title
        3. 11.2.2.3. Use Pager
        4. 11.2.2.4. Items Per Page
        5. 11.2.2.5. More
        6. 11.2.2.6. Access
      3. 11.2.3. Advanced Settings
        1. 11.2.3.1. Use Ajax
        2. 11.2.3.2. Distinct
        3. 11.2.3.3. Use Grouping
        4. 11.2.3.4. Caching
      4. 11.2.4. Style Settings
        1. 11.2.4.1. Style
        2. 11.2.4.2. Row Style
        3. 11.2.4.3. CSS Class
        4. 11.2.4.4. Theme
      5. 11.2.5. Exposed Form
        1. 11.2.5.1. Header
        2. 11.2.5.2. Footer
        3. 11.2.5.3. Empty Text
      6. 11.2.6. Fields
      7. 11.2.7. Relationships
      8. 11.2.8. Arguments
      9. 11.2.9. Sort Criteria
      10. 11.2.10. Filters
      11. 11.2.11. Live Preview
      12. 11.2.12. Exposing a View as a Page
    3. 11.3. Creating Tabular Views
    4. 11.4. Creating RSS Feeds with Views
    5. 11.5. Summary
  17. 12. Panels
    1. 12.1. Available Layouts
    2. 12.2. Is It a Page, a Page, or Is It a Page?
    3. 12.3. Creating a Panel Page
      1. 12.3.1. Modifying an Existing Panel Page
    4. 12.4. Using the Flexible Layout Option
    5. 12.5. Adding Other Things to Panel Panes
    6. 12.6. Summary
  18. 13. Theming
    1. 13.1. Picking the Starting Point
    2. 13.2. Before You Get Started
      1. 13.2.1. The Standard Drupal Theme Files
    3. 13.3. Configuring the Genesis Theme
    4. 13.4. Modifying the Base Theme
    5. 13.5. Creating a Horizontal Menu
    6. 13.6. Theming the Footer
    7. 13.7. Theming Nodes
    8. 13.8. Theming Blocks
    9. 13.9. Changing Sitename and Logo
    10. 13.10. A Tool for Helping You Theme Your Site
    11. 13.11. Summary
  19. 14. Administering Your Drupal Site
    1. 14.1. Backing Up Your Site
      1. 14.1.1. Restoring a Backup
      2. 14.1.2. Backing Up the File System
    2. 14.2. Checking the Log Files
      1. 14.2.1. Recent Log Entries
      2. 14.2.2. "Page Not Found" Errors
    3. 14.3. Status Report
    4. 14.4. Checking for Updates
    5. 14.5. Approving Requests for User Accounts
    6. 14.6. Summary
  20. 15. Putting It All Together
    1. 15.1. Now What?
      1. 15.1.1. Look At Other Drupal-Based Sites for Ideas
      2. 15.1.2. Keep Tabs on Drupal and Contributed Modules
      3. 15.1.3. Get Involved in Your Local Drupal Users Group
    2. 15.2. A Methodology for Building Your Site on Drupal
    3. 15.3. Summary
  21. 16. Case Study
    1. 16.1. Defining and Designing the Site
      1. 16.1.1. Target Audience
      2. 16.1.2. Identifying the Content and Functionality Required by Visitors
    2. 16.2. Defining the Site's Structure
    3. 16.3. Defining the Custom Content Types and Taxonomy Structure
    4. 16.4. Defining the Navigational Structure
    5. 16.5. Installing Drupal
    6. 16.6. Visual Design
    7. 16.7. Download and Install Contributed Modules
    8. 16.8. Creating User Roles and Setting Permissions
    9. 16.9. Creating the Taxonomy Vocabulary and Terms
    10. 16.10. Creating the Custom Content Types
    11. 16.11. Creating Views
    12. 16.12. Setting Up the Contact Us Feature
    13. 16.13. Creating an About Us Page
    14. 16.14. Setting Up the Forums
    15. 16.15. Setting Up the Feed Aggregator
    16. 16.16. Creating the Menu Items
    17. 16.17. Wrapping Up the Pages
    18. 16.18. Testing the Site
    19. 16.19. Deploying to Production
    20. 16.20. Create User Accounts
    21. 16.21. Summary
  22. A. Installing Drupal
    1. A.1. The Foundation Required to Install Drupal
    2. A.2. Setting Up the Server
    3. A.3. Installing Drupal
      1. A.3.1. Downloading Drupal
      2. A.3.2. Decompressing the Drupal Installation Package
      3. A.3.3. Moving the Drupal Distribution to the Root Directory of Your Web Server
      4. A.3.4. Creating the settings.php File
      5. A.3.5. Creating the Drupal Database
      6. A.3.6. Creating a User Account
    4. A.4. Configuring Drupal
    5. A.5. Summary
  23. B. Additional Resources
    1. B.1. Drupal Modules
    2. B.2. Drupal Themes
    3. B.3. Drupal Documentation
    4. B.4. Where to Go When you Have Problems
    5. B.5. How to Backup Your Drupal Site
    6. B.6. Where to Host Your Drupal Site
    7. B.7. Where to go to Learn HTML and CSS
    8. B.8. Video Tutorials
    9. B.9. Drupal Podcasts
  24. C. Social Networking
    1. C.1. Expanding Your Reach by Sharing
    2. C.2. Integrating Your Site with Social Networking Sites
      1. C.2.1. Integrating Drupal with Facebook
      2. C.2.2. Integrating Drupal with Twitter
      3. C.2.3. Integrating Drupal with Flickr
      4. C.2.4. Integrating with YouTube
      5. C.2.5. Displaying Status Updates from Several Social Networking Sites
    3. C.3. Creating a Social Networking Website on Drupal
    4. C.4. The Organic Groups Module
      1. C.4.1. Setting Up Organic Groups
      2. C.4.2. Setting Up Content Types
      3. C.4.3. Configure the Organic Groups Module
      4. C.4.4. Activating OG Blocks
      5. C.4.5. Setting Up Access Configuration
      6. C.4.6. Setting Up Permissions
    5. C.5. Creating Your First Group
      1. C.5.1. Creating a Group Post
      2. C.5.2. Expanding the Functionality of Your Organic Group Site
    6. C.6. Summary
  25. D. E-commerce
    1. D.1. E-commerce Options for Drupal
    2. D.2. Ubercart Overview
    3. D.3. Installing Ubercart
    4. D.4. Setting Up Your Storefront
    5. D.5. Updating the Product Content Type
    6. D.6. Setting Up Products
    7. D.7. Managing Inventory
    8. D.8. Enabling Ubercart's Blocks
    9. D.9. Catalog Views
    10. D.10. The Add to Cart Process
    11. D.11. The Checkout Process
    12. D.12. Managing Orders
    13. D.13. Reporting
    14. D.14. Summary