Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Drupal 7 Business Solutions
Drupal 7 Business Solutions

Drupal 7 Business Solutions: 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.

eBook
$9.99 $32.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Drupal 7 Business Solutions

Chapter 2. Creating the Artisan Bakers Collective Website

In this chapter, we will start building the Artisan Bakers Collective website using Drupal 7. You'll learn how to use the Drupal 7 administrative interface to build your site. We'll look at the differences between the various types of content that Drupal 7 is bundled with and start building our site's pages.

After we get comfortable managing content, we will add web pages to the navigation system, so that customers can easily find all the information that they need. After the navigation has been completed, we will make the site look more visually appealing by adding images. We will learn how to enable core Drupal 7 modules; and how to install new modules.

By the end of this chapter you'll be able to:

  • Run cron, check site status report, and enable clean URLs

  • Add basic pages

  • Add user accounts and tweak user permissions

  • Add images to content

  • Create a home page

  • Add site menus

  • Enable core modules and install contributed modules

The Core Drupal 7 look and feel


At the end of Chapter 1, Planning our Site and Setting up Drupal, you successfully installed Drupal 7. With Drupal 7 installed you will get a core bare-bones Drupal website that you can begin to customize for your client. Your site's home page should currently look like the following screenshot:

The site displays a blue header area with the Drupal logo icon, a hyperlink to your user account page and to log out of the site. The home tab shows in the primary menu; there's a search box and a Navigation block in the left sidebar; and some default home page content. You'll also notice the black horizontal admin menu that is only accessible to you when you are logged into the site as the admin user. This menu provides easy access to the Drupal administrative interface. Finally the footer area in black contains the Powered by Drupal text. Every time you install Drupal 7 for the first time you'll see a layout similar to this. The default theme that comes enabled with...

Drupal core content—basic pages and articles


This section will describe how to add content, or what you may be used to referring to as web pages. First we need to define some terms that Drupal uses when it deals with web-based content. When we talk about web pages within the Drupal framework, we're going to be generally speaking of nodes. A node is the Drupal equivalent of a web page, containing text, images, and other content. So when you add a page to a Drupal site you're adding a node. Additionally, each node in Drupal gets an ID that corresponds to its location in the MySQL database. In Drupal a web page is not a flat file that sits on the web server. It's a node that populates a database as data. Attached files and images get uploaded to the web server and sit in file directories, but the web content in a node gets stored in the database.

When we add nodes to our site we add them using content types. Drupal content types are used to add content to a Drupal site. Generally your client...

Adding images to your content


One significant improvement in Drupal 7 is that some of the more complex content type modules and functionalities are now built into the core Drupal, making them a lot easier to use out-of-the-box. This means that amongst other immediate benefits, your article content type comes with an image field as part of its core content type fields.

In Chapter 3, Adding Products and Services, we're going to show how easy it is to extend our content types by adding new image fields through the core content type module, but for now we'll use the image field on the Article type to populate our nodes with images.

On your Create Article form, click the Browse button in line to the Image field and locate a JPG, PNG, or GIF file on your computer. Then click on the Upload button to upload and associate the image with your article. When you upload the image, Drupal will display a small thumbnail version on your article form with a link to the full JPG version and the file size of...

Creating a traditional home page


Another method of creating a home page for Artisan Bakers Collective is to create a specific node in Drupal, and then specify that node as the home page. Let's walk through this process now and then you will have two home page options to present your clients with.

The first step in creating a traditional home page is to create a Basic page that will serve as the foundation for our home page. We will create the page in exactly the same way as we created the About Us page. Click on your Add content link and then click on the Basic page link. The Basic page form will load.

For this specific example of a home page using the Basic page type let's enter the text as shown in the following screenshot. Of course, you can enter any text you have that meets your client's requirements:

Select the URL path settings tab and type in home page as the path alias for this node. Then click on Save. The Basic page type does not come with an image field by default, so we'll need...

Getting around—setting up navigation


As your site gets larger and more complex, you will need to ensure that visitors can easily find what they are looking for. With traditional website development, managing navigation is among the most difficult, time consuming, and error prone tasks. Fortunately, Drupal handles the details of maintaining the navigation system for us, so we can concentrate on making sure that the navigation structure makes sense and is easy for the user to understand.

Building menus


The primary way to organize content in Drupal is by using menus. The Drupal menu system organizes content in a simple outline, where a page can be nested under another page. Drupal handles the expansion and collapsing of menus to hide menus that aren't immediately relevant to the user. This helps to keep the menu short and also ensures that the visitor can easily understand your site layout. You can also create multiple menus for the site. For example, many sites will have a Main menu that is displayed on the left-hand side corner of the screen, and a smaller menu that is displayed at the top of the page, and that lets the visitor jump to a specific section of the website. Ultimately with Drupal 7 you can create as many menus as you need.

Types of menus

Drupal offers four different built-in menus:

  1. Main menu

  2. Management

  3. Navigation

  4. User menu

You can access all of your menus by going to Structure | Menus:

Although you can use these menus for any purpose you want, the standard...

Enabling core modules and installing contributed modules


The functionality that we have used so far is included in the default installation of Drupal and you don't need to do anything special to use it. However, the real power of Drupal is unleashed when you begin enabling the optional modules that are included with Drupal, and when you install contributed and custom modules.

The Drupal installation includes over 20 modules, some of which are not enabled by default. These modules may be disabled by default for several reasons. Some are disabled because they are not needed by every Drupal installation, or they may require extra configuration, or they may have an impact on performance. There are also several optional modules that are enabled by default because they are used by a majority of sites. However, if your site doesn't need the functionality they provide, you can disable them.

You can view a complete list of modules that are available on your site by clicking on the Modules link in the...

Summary


Congratulations! We have covered a lot of ground in this chapter, but we now know how to leverage the power of Drupal to create the core pages and menus of your website. You also learned how to enable and install contributed modules. The techniques that you have learned in this chapter can be applied to a wide range of websites and will probably be used in every website that you create with Drupal.

In the forthcoming chapters, we will continue to enhance the Artisan Bakers Collective website with new functionality. Although we will be using more advanced techniques in the future chapters, we will continue to refer back to many of the techniques you have learned in this chapter, especially:

  • Installing and configuring contributed and custom modules

  • Creating new pages

  • Creating menus

  • Creating dynamic lists of content

  • Organizing blocks of content on our site

  • Creating dynamic layouts of content

As you have seen in this chapter, Drupal makes creating and maintaining a site fun, and frees you from...

Left arrow icon Right arrow icon

Key benefits

  • 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

Description

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.

Who is this book 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.

What you will learn

  • Install and set up Drupal
  • Add blogs to attract customers to your business site
  • Add customer accounts to your site
  • Incorporate e-commerce in your site to sell your products online using Ubercart and the new Commerce modules.
  • Integrate Google maps, YouTube videos, and e-newsletter with your site which will help you increase your profits
  • Insert online surveys and polls in your site to improve business through customer feedback
  • Take care of and maintain your site.
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jan 20, 2012
Length: 378 pages
Edition : 1st
Language : English
ISBN-13 : 9781849516648
Languages :
Concepts :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Publication date : Jan 20, 2012
Length: 378 pages
Edition : 1st
Language : English
ISBN-13 : 9781849516648
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 54.99
Drupal 7 Business Solutions
$54.99
Total $ 54.99 Stars icon
Banner background image

Table of Contents

11 Chapters
Planning our Site and Setting up Drupal Chevron down icon Chevron up icon
Creating the Artisan Bakers Collective Website Chevron down icon Chevron up icon
Adding Products and Services Chevron down icon Chevron up icon
Interacting with Customers and Visitors Chevron down icon Chevron up icon
Creating a Company Blog Chevron down icon Chevron up icon
Newsletters and Calendars Chevron down icon Chevron up icon
Sharing and Consuming with YouTube, Flickr, Google Maps, and Twitter Chevron down icon Chevron up icon
Freebies and Downloads Chevron down icon Chevron up icon
Online Orders and Payments Chevron down icon Chevron up icon
Image Galleries and Slideshows Chevron down icon Chevron up icon
Maintaining and Optimizing your Drupal Site Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.7
(6 Ratings)
5 star 50%
4 star 16.7%
3 star 0%
2 star 16.7%
1 star 16.7%
Filter icon Filter
Top Reviews

Filter reviews by




M. A. Mowen Apr 02, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book guides the user through the process of setting up an online store and understanding Drupal at the same time. Doing both is very challenging but the authors guide you and cover a lot of ground in the process. I would like to see a more extensive coverage of Drupal Commerce but that is probably beyond the scope of this book's purpose.If you're interested in learning Drupal via video tutorials, VTC.com has a good course by one of the authors (Trevor James). I learned a lot from that course.
Amazon Verified review Amazon
ThomasT Jun 29, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The entire collection of books on Drupal 7 offered by Packt Publishing has to be one of the best series of books you can buy if you are interested in really learning Drupal. Though there is no suggested "learning path", if you carefully review their titles, you can see where you should start based on your own experience level. Regardless, even their straightforward "Drupal 7" book offers something for experienced Drupal hands as well.The quality comes through via the authors and the content chosen. All the books are full of detailed and very informative hands-on examples. I have had experience with other Drupal books as well and have found even the supposedly "advanced" example less detailed and comprehensive than in the books from this publisher."Drupal 7 Business Solutions" itself serves as a great reference for me - an intermediate Drupal practitioner - and my wife who is absolutely new to using Drupal.
Amazon Verified review Amazon
Bruno Dec 11, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
No wasting time and words.. You start building a drupal solution, step by step, and you keep at it until the end.
Amazon Verified review Amazon
mtspace Jul 14, 2014
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
In my opinion, a significant measure of goodness of a programming book lies in how quickly it moves to teaching you how to do things that are not immediately obvious once one either has a decent working understanding of the language or can navigate through a menu system to get results. So when I compare this book to, say, Drupal 7 Explained, I must conclude that this one is a great deal better. I bought both of them to help me answer a specific question regarding the use of Tags at a Drupal based site that I built before buying either book. Neither book answered the question; but it was after poking around in this one that I was struck with an inspiration that led to the solution of the problem at hand.This book starts by covering the underlying concepts upon which Drupal is built. Without a strong intuitive grasp of these, anyone building a Drupal site is likely to get hopelessly lost. Then it quickly turns to specific design problems: Making Menus, Managing and Using Taxonomy, Implementing Events Calendars, Creating a Storefront, and so on. I will admit that I've not used the book very much for these things, but as I look through its descriptions of procedures they appear to be clear and accurate. Even if they miss a trick here or there, one gets much farther faster with a book like this than with one that on p325 describes in painful detail how to edit a block. Some users may need that kind of help; but I cannot help but wonder whether those who do might better choose a different line of work.Neither book offers much help with the task of editing the CSS framework to achieve the look and feel required in a site. So if one of the canned skins doesn't satisfy, one must either be a CSS guru or learn slowly and painfully, perhaps using another book.Soon after I bought both books my own web host changed the terms of Drupal use in a way that makes it look inevitable that Drupal-based hosting is soon going to cost significantly more than plain-vanilla hosting. So I'm going to concentrate on PHP based solutions. I may spend a little more time coding the logic of a site, but at least I'll have full control over the visual aspects.
Amazon Verified review Amazon
William J Jupp Aug 06, 2014
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
Too much like an overview and no tutorials or tell you how to do something.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela