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

Building a custom content type


In this section we will set up a custom content type for the Artisan Bakers Collective website. Our custom content type will be used to display our bakery's goods including its breads and pastries. The content type will contain the following:

  • The name of the bread or pastry

  • A description of the bread or pastry

  • The price of the item

  • A picture of the item

You could, of course simply add this content using the default core content type that Drupal 7 ships with; either a Basic page or Article. However, creating a custom content type in Drupal to hold specific fields related to your specific content is the best practice and also will help to keep your site organized, extensible, flexible, and searchable. This will also give you practice in creating content types using Drupal 7 and adding custom fields to those types.

Introduction to content types

In this section we'll learn about Drupal's core content type and fields system.

Goal

Learn how to build content types and add...