Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
S$12.99 S$59.99
Paperback
S$74.99
Subscription
Free Trial

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
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.

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 a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

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 S$6 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 S$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total S$ 74.99
Drupal 7 Business Solutions
S$74.99
Total S$ 74.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 included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.