Book Image

Drupal 7 Development by Example Beginner's Guide

By : Kurt Madel
Book Image

Drupal 7 Development by Example Beginner's Guide

By: Kurt Madel

Overview of this book

<p>Drupal is a powerful PHP content management system that allows you to build a wide variety of websites. By combining the power of HTML5, JavaScript, and CSS, you can develop and customize a fully-functional, world-class website. This book also covers some important changes from Drupal 6 to version 7, so even experienced Drupal users will find this straightforward guide useful.</p> <p>Drupal 7 Development by Example Beginner's Guide has numerous code examples that will not only introduce new Drupal 7 development concepts, but will give you the skills needed to build a world-class Drupal website. By following the development of a recipe-sharing, e-commerce site, you will quickly and easily get your own Drupal site up and running.</p> <p>Starting from a solid Drupal 7development environment, this book will show you how to extend Drupal with front-end code using Ajax, jQuery, and server side PHP. In addition to learning how to integrate HTML5, the book will cover responsive web design, and cutting edge CSS3. Using the example of an e-commerce and social networking site, this book will develop your Drupal programming skills so that you will be capable of developing advanced code good enough to be shared with the Drupal community.</p>
Table of Contents (19 chapters)
Drupal 7 Development by Example Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – installing the Features module


Now, we will install the Features modules so that we can learn how to utilize it to help with Drupal configuration management.

  1. Open the Terminal (Mac OS X) or Command Prompt (Windows) application, and change to the root directory of our d7dev site.

  2. Use Drush to download and enable the Features module,

    $ drush dl features
    Project features (7.x-1.0-beta6) downloaded to /Applications/MAMP/htdocs/d7dev/sites/all/modules/features.  [success]
    $ drush en features
    The following extensions will be enabled: features
    Do you really want to continue? (y/n): y
    features was enabled successfully.                    [ok]
    
  3. Now, open our d7dev site in your browser, and click on the Structure link in the Admin toolbar, then click on the Features link, and you will see the following Features administrative screen for managing Features.

Typically, to enable a feature, you just select the checkbox of the feature on the Features MANAGE administrative screen, and click...