Free Sample
+ Collection
Code Files

Drupal Rules How-to

Robert Varkonyi

Discover the power of the Rules framework to turn your Drupal 7 installation into an action-based, interactive application with this book and ebook.
RRP $12.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849519984
Paperback74 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Leverage the power of Rules and Views Bulk Operations
  • Re-use configurations using Components
  • Create your own Events, Conditions and Actions.

Who This Book Is For

This book is for Drupal site builders and developers who want to take full advantage of the Rules framework's power and flexibility. Readers of this book should be familiar with the Drupal 7 user interface

Table of Contents

Chapter 1: Drupal Rules How-to
Understanding the basics of Reaction Rules (Must know)
Displaying a message on the site (Must know)
Sending e-mail notifications (Must know)
Sending notifications if someone comments on a node created by another user (Must know)
Using loops and lists (Must know)
Components – Reusing Rules, Conditions, and Actions (Must know)
Using the Rules Scheduler (Must know)
Debugging Rules (Must know)
Using PHP in Conditions and Actions (Should know)
Using condition groups (Should know)
Subscribe to comments on a node using Rules and Flag (Should know)
Adding a taxonomy term to a node using Views Bulk Operations and Rules (Should know)
Loading a list of objects into Rules using VBO (Should know)
Rules Bonus Pack (Should know)
Providing new Events, Conditions, and Actions (Become an expert)
Providing new entity tokens (Become an expert)
Executing Rules programmatically (Become an expert)
Providing new variables for Actions (Become an expert)
Providing default rule configurations (Become an expert)

What You Will Learn

  • Getting familiar with the user interface
  • Creating reaction rules using Events, Conditions and Actions
  • Re-using configurations using Components
  • Debugging Rule configurations
  • Using Loops and Lists
  • Extending Rules using other modules like Views Bulk Operations and Flag
  • Creating your own Events, Conditions, and Actions
  • Executing Rule configurations programmatically

In Detail

Rules is what every Drupal site builder and developer has to use when creating event – action-based applications. The framework provides a highly flexible way to create sophisticated, condition-based functions any Drupal based system into an interactive application. Rules makes Drupal rule the CMS world.

"Drupal Rules How-to" is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the real power of the Rules framework, and understand how to use it on a site builder and developer level

This book demonstrates the power and flexibility of the Rules framework. It discusses the main aspects of the module both from the site builder and developer perspective, from basic and advanced Rule configurations using Events, Conditions, Actions and Components to getting familiar with the Rules API.

You will also learn how to use additional modules together with Rules to further extend the possibilities of your Drupal system, such as Rules Scheduler to schedule the execution of your Rule configurations and Views Bulk Operations to execute Rule configurations on a view result list. The book also demonstrates the main API features that enable you to create your own Events, Conditions and Actions, provide new data types to Rules and execute your configurations programmatically


Read More