You are previewing Drupal 7 Business Solutions.
O'Reilly logo
Drupal 7 Business Solutions

Book Description

Drupal open source content management is the perfect solution for small business websites, and this book takes you through the whole process step-by-step, from installing Drupal to incorporating sophisticated e-commerce modules.

  • Build a Drupal 7 powered website for your business rapidly

  • Add blogs, news, e-commerce, image galleries, maps, surveys, polls, and forums to your website to beat competition

  • Complete example of a real world site with clear explanation

  • In Detail

    You can use the Drupal 7 content management system to build a small business website quickly. You may add blogs, images, maps, e-commerce, social application integration, and more to your site to connect with your customers and make more money from your business.

    Drupal 7 Business Solutions will give you hands-on practical tutorials on how to build a rich and dynamic website for your business quickly using one of the most popular tools in open source.

    You’ll start by adding blogs and images to your website. Then you’ll learn how to add a VIP section to your site so that you can give your logged in users special discounts and other VIP freebies. Next, you will learn to send your customers e-mail newsletters and show them a dynamic events calendar.

    The book will then teach you to add e-commerce to your site so you can sell your products online. You’ll add YouTube videos and Google maps to help enhance your business site. You will then learn to incorporate feedback mechanisms for your customers.

    The book also explains how to maintain your site, upgrade it, and continue adding dynamic content to it.

    Table of Contents

    1. Copyright
    2. Credits
    3. About the Authors
    4. Acknowledgment
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. Who this book is for
      3. Conventions
      4. Reader feedback
      5. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Planning our Site and Setting up Drupal
      1. Artisan Bakers Collective
      2. Plans for the Artisan Bakers Collective website
        1. Selecting a foundation for the Artisan Bakers Collective site
      3. Simple static web pages
        1. Key advantages
        2. Key disadvantages
      4. Fully-customized site with PHP and MySQL
        1. Key advantages
        2. Key disadvantages
        3. Drupal content management system
        4. Benefits of building with Drupal
      5. Disadvantages of Drupal
      6. Deciding on Drupal
      7. Getting started with Drupal
      8. Artisan Bakers Collective on the web
      9. Summary
    9. 2. Creating the Artisan Bakers Collective Website
      1. The Core Drupal 7 look and feel
        1. Checking the site's status report
          1. Cron
          2. Clean URLs
      2. Drupal core content—basic pages and articles
        1. Adding a Basic page
          1. Editing a page
          2. Security considerations
            1. Adding users
        2. Street presence, setting up the home page
          1. Blog style home pages
            1. Tags
      3. Adding images to your content
        1. URL path settings
          1. Using path aliases
          2. Creating multiple aliases for a page
          3. Automatically creating page aliases
            1. Publishing options
      4. Creating a traditional home page
        1. Deleting a page
      5. Getting around—setting up navigation
      6. Building menus
        1. Types of menus
        2. Adding a page to a menu
          1. Setting the order of menu items
      7. Enabling core modules and installing contributed modules
        1. Installing contributed modules
        2. Installing the Menu Block module
        3. Using the Menu Block module
      8. Summary
    10. 3. Adding Products and Services
      1. Building a custom content type
        1. Introduction to content types
          1. Goal
        2. Designing the menu item
          1. Goal
          2. Steps
            1. Step 1: Determining how the content type will be used
            2. Step 2: Determining what fields need to be included
            3. Step 3: Determining what type each field should use, and what validation should be done
            4. Step 4: Determine who will be viewing and editing the content type
        3. Creating the content type
          1. Goal
          2. Steps
        4. Adding a price to the menu item
          1. Goal
          2. Steps
        5. Adding ingredients, dietary concerns and meals fields
          1. Goal
          2. Steps
        6. Adding seasonal information to the menu item
          1. Goal
          2. Additional modules needed
          3. Steps
        7. Adding an image
          1. Goal
          2. Steps
          3. Alternative solutions
        8. Controlling access to the content type
          1. Goal
          2. Steps
      2. Using taxonomy to categorize content
        1. Create a vocabulary for Type of Baked Good
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Adding terms to the vocabulary
          1. Goal
          2. Additional modules needed
          3. Steps
        3. Adding the Term reference field
          1. Goal
          2. Steps
      3. Adding content with the content type
        1. Creating a new Breads and Pastries item
          1. Goal
          2. Steps
      4. Customizing the display of the content type nodes
        1. Modifying the order of fields and the display of the field labels
          1. Goal
          2. Steps
      5. Summary
    11. 4. Interacting with Customers and Visitors
      1. Working with users
        1. Allowing user registration
          1. Goal
          2. Steps
        2. Extending the user signup form
        3. Create a VIP role
          1. Goal
          2. Steps
        4. Assign users to the VIP role
          1. Goal
          2. Steps
      2. Working with comments
        1. Enable comments for a content type and node
          1. Goal
        2. Adding new comments
          1. Goal
          2. Steps
        3. Manage comments
          1. Goal
          2. Steps
        4. Notification of new user comments on site
          1. Goal
          2. Additional modules needed
          3. Steps for creating the e-mail action
          4. Steps for creating the new comments trigger
      3. Set up user ratings for content
        1. Add Fivestar content ratings to a node
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Adding a rate this node block
          1. Goal
          2. Steps
        3. Change the display of the ratings
          1. Goal
          2. Steps
      4. Working with polls
        1. Create a poll
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Adding the poll to the home page
          1. Goal
          2. Steps
        3. Submitting a poll
          1. Goal
          2. Steps
        4. Viewing poll results
          1. Goal
          2. Steps
      5. Adding user surveys
        1. Creating a user survey
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Protecting the survey with Captchas
          1. Goal
          2. Additional modules needed
          3. Steps
        3. Answering a survey
          1. Goal
          2. Steps
        4. Viewing survey results
          1. Goal
          2. Submissions view
          3. Analysis view
          4. Table view
          5. Download view
          6. Clear
      6. Summary
    12. 5. Creating a Company Blog
      1. Creating blogs
        1. Setting up the blog system
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Adding a new blog post
          1. Goal
          2. Steps
        3. Adding moderation for blog posts
        4. Goal
          1. Additional modules needed
          2. Creating the moderator role
          3. Setting up moderation for the blog posts
        5. Automatically moderating content based on keywords
          1. Goal
          2. Additional modules needed
          3. Steps
      2. Enabling customers to read your blogs
        1. Displaying a list of available blogs
          1. Goal
          2. Additional modules needed
          3. Creating a blog menu
          4. Creating a blog block
        2. Creating an RSS feed for newsreaders
          1. Goal
          2. Additional modules needed
          3. Steps
        3. Adding subscription buttons
          1. Goal
          2. Additional modules needed
          3. Steps
      3. Including information from other blogs
        1. Allowing your site to read content
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Viewing feeds
          1. Goal
          2. Steps
        3. Automatically updating your feeds with cron jobs
          1. Goal
          2. Steps
          3. Additional ways of setting up cron
      4. Summary
    13. 6. Newsletters and Calendars
      1. Creating newsletters
        1. Creating a newsletter category
          1. Goal
          2. Additional modules needed:
          3. Steps
          4. Viewing your newsletter categories
          5. Adding newsletters
        2. Simplenews module settings
          1. General and newsletter configuration
          2. Subscription and Send mail configuration
        3. Creating a new issue of the newsletter
          1. Goal
          2. Steps
        4. Allowing users to sign up for the newsletter
          1. Goal
          2. Steps
        5. Managing sign ups
          1. Goal
          2. Steps
        6. Importing and exporting subscriptions
          1. Goal
          2. Steps
      2. Adding a calendar
        1. Tweaking our date and time settings
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Adding an event content type and custom date/time field
          1. Goal
          2. Steps
        3. Adding events to the site
          1. Goal
          2. Steps
        4. Displaying events on a calendar
          1. Goal
          2. Additional modules needed
          3. Steps
      3. Summary
    14. 7. Sharing and Consuming with YouTube, Flickr, Google Maps, and Twitter
      1. Integrating your site with other web content
      2. Online baking class
        1. Embedding a YouTube video with a filter
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Creating a YouTube playlist and display a random video
          1. Goal
          2. Additional modules needed
          3. Steps
      3. Flickr integration: Another alternative for images and slideshows
        1. Embedding media from Flickr
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Using the Flickr module to insert photos using a filter
          1. Goal
          2. Additional modules needed
          3. Steps
          4. Flickr module blocks
      4. Posting your site's content to Twitter
        1. Twitter when you post
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Posting to Twitter
      5. Summary
    15. 8. Freebies and Downloads
      1. Adding downloads and PDFs to the website
        1. Controlling how files are downloaded
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Allowing files to be uploaded to the website
          1. Goal
          2. Additional modules needed
          3. Steps
          4. Configuring files for secure private download
        3. Sending the correct file types to a user
          1. Goal
          2. Additional modules needed
          3. Steps
        4. Forcing a file to be downloaded
          1. Goal
          2. Additional modules needed
          3. Steps
          4. Configuring Printer-friendly pages in Drupal
            1. Goal
            2. Additional modules needed
            3. Steps
          5. Automatically generating PDF files for a page
            1. Goal
            2. Steps
      2. Summary
    16. 9. Online Orders and Payments
      1. The Drupal Commerce module
        1. Goal
        2. Additional modules needed
        3. Download and install Commerce
        4. Setting up your Store with Commerce
        5. Adding a content type in Drupal to display our Commerce product types
        6. Adding Products using Commerce
          1. Checking on orders as the site administrator
        7. Commerce Store Configuration
      2. Summary
    17. 10. Image Galleries and Slideshows
      1. Using Views to build image galleries
        1. Installing and Configuring the Views module
          1. Goal
          2. Additional modules needed
          3. Steps
          4. Add some photos
          5. Configuring Imagecache
        2. Configuring Image Galleries with Views
        3. Setting up slideshows with Lightbox and Views
          1. Goal
          2. Additional modules needed
          3. Steps
          4. General settings
          5. Slideshow settings
          6. HTML content settings
          7. Automatic image handling settings
          8. Adding a Lightbox slideshow to our Photo gallery
            1. Additional topics
      2. Summary
    18. 11. Maintaining and Optimizing your Drupal Site
      1. Website backups
        1. Manually backing up a site
          1. Goal
          2. Steps
        2. Setting up automatic MySQL backups
          1. Goal
          2. Additional modules needed
          3. Steps
        3. Restoring a site from a backup
          1. Goal
          2. Additional modules needed
          3. Steps
      2. Optimizing your Drupal site and its database
        1. Optimizing the database tables
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Using caching to improve performance
          1. Goal
          2. Additional modules needed
          3. Steps
      3. Creating content workflows and revisions
        1. Creating content revisions
          1. Goal
          2. Additional modules needed
          3. Steps
        2. Comparing content revisions
          1. Goal
          2. Additional modules needed
          3. Steps
          4. Upgrading to new versions of Drupal
        3. Checking for new updates to Drupal and modules
          1. Goal
          2. Additional modules needed
          3. Steps
        4. Upgrading Drupal contributed modules
          1. Goal
          2. Additional modules needed
          3. Steps
        5. Upgrading to a new major or minor release of Drupal core
          1. Goal
          2. Additional modules needed
          3. Steps
      4. Summary