Book Image

Drupal 7 Business Solutions

Book Image

Drupal 7 Business Solutions

Overview of this book

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 (19 chapters)
Drupal 7 Business Solutions
Credits
About the Authors
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

You can use the Drupal 7 content management framework to build a small business website rapidly. You may add blogs; images and image galleries; maps, e-commerce and shopping carts; social application integration including Twitter and Flickr, 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 using the new Drupal Commerce module so you can sell your products online. You'll add YouTube videos, Google maps, and Flickr-based photos 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 over time so you can market your business successfully with a professional, flexible and optimized website.

What this book covers

Chapter 1, Planning our Site and Setting up Drupal: In this chapter we plan for and map out our website and its content with the Drupal content management system as the backbone. We look at the advantages and benefits of using Drupal to build our site. We install Drupal and set up the website's initial basic configuration.

Chapter 2, Creating the Artisan Bakers Collective Website: In this chapter we continue configuring Drupal and learning how to run a cron task and check the Drupal status report. We enable clean URLs, and add some Basic Page and Article content to our site. We add users to our site and configure basic user permissions. We discuss the various types of home pages we can configure using Drupal. We configure path aliases, set up navigation menus, tweak the order of our menu items, enable core modules; and install contributed Drupal modules.

Chapter 3, Adding Products and Services: In this chapter we build a custom content type using Drupal. We configure the content type and add custom fields to the content type in order to post specific data to our site using the content type's form. We install and configure the Date module to handle adding fields to our content type to collect date and time information. We set up some basic access control to our content type. We also build some taxonomy vocabularies and add tags to our site.

Chapter 4, Interacting with Customers and Visitors: In this chapter we add user roles to the site and extend the user signup form to add fields to collect user profile data. We enable and configure the Comments module and create some specific comments-based actions and triggers.

Chapter 5, Creating a Company Blog: In this chapter we enable and configure the Blog module. We add some blog posts and set up a moderation system for our blogging. We learn how to configure advanced actions in Drupal. We add easy access methods for our site visitors to be able to get to and read our blog posts by enabling blocks that show recent blog posts. We add RSS feeds to our site's blog. We learn how to aggregate content from other websites using the powerful Drupal Aggregation and Feeds modules.

Chapter 6, Newsletters and Calendars: In this chapter we set up e-newsletters on our site using the Simplenews module. We learn how to add a Newsletter and send it via e-mail to our site visitors. We set up a subscription service for the newsletters. We add an Event content type to the site and create a visual calendar of our events using the Calendar module.

Chapter 7, Sharing and Consuming with YouTube, Flickr, Google Maps, and Twitter: In this chapter we learn how to embed YouTube videos on our site. We install and configure the Flickr module to add Flickr photosets and photos to our site via a web service API. We add Google Maps to our site and also learn how to tweet our site content automatically to our Twitter account.

Chapter 8, Freebies and Downloads: In this chapter we learn how to post files including PDFs to our site's content so our site visitors can easily download these files. We configure both public and private file systems on our site. We install and configure the Print module which adds printer-friendly versions of our site's pages, e-mail to friend functionality, and PDF versions of our site's content. We install the dompdf library so we can generate PDFs of our site's content automatically.

Chapter 9, Online Orders and Payments: In this chapter we install and configure the new Drupal 7.x Commerce module to add e-commerce functionality and a shopping cart to our site.

Chapter 10, Image Galleries and Slideshows: In this chapter we use the Views and Views Slideshow modules to set up image galleries and dynamic slideshows of our image collections.

Chapter 11, Maintaining and Optimizing your Drupal Site: In this final chapter we discuss best practices for maintaining and optimizing our Drupal website and its MySQL database. This includes discussions of Drupal performance and some tips for getting the best performance and optimization out of your website.

Who this book is for

This book is for anyone who wants to learn how to set up a website quickly for their business using the super powerful Drupal open source content management software.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: " Let's tweak the label to read Description of Item."

A block of code is set as follows:

[default]
exten => s,1,Dial(Zap/1|30)
exten => s,2,Voicemail(u100)
exten => s,102,Voicemail(b100)
exten => i,1,Voicemail(s0)

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

[default]
exten => s,1,Dial(Zap/1|30)
exten => s,2,Voicemail(u100)
exten => s,102,Voicemail(b100)
exten => i,1,Voicemail(s0)

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "You'll see a message stating that Cron ran successfully:".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.