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 Views module


We are going to use Drush to download and install the Views module. Start by opening a Command Prompt for Windows or Terminal for Mac. Change to your d7dev project directory, and type the following command:

C:\xampp\htdocs\d7dev>drush dl views
Project views (7.x-3.3) downloaded to [success]
C:/xampp/htdocs/d7dev/sites/all/modules/views.
Project views contains 2 modules: views, views_ui.

Note

It is worth mentioning that Drupal 7 added the ability to install and update modules that are hosted on Drupal.org, directly with the administrative UI. You should definitely check it out. But once you begin custom development for Drupal, and start using Drush, you will find it to be an indispensable time saver.

You will see that Views includes two modules: views and views_ui. We want both the modules, so to save typing an extra Drush command, we will enable the views_ui module, and Drush will automatically take care of enabling all module dependencies...