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