Introduction to the Module

Slides:



Advertisements
Similar presentations
RP Designs Semi-Custom e-Commerce Package. Overview RP Designs semi- custom e-commerce package is a complete website solution. Visitors can browse a catalog.
Advertisements

Drupal Online Tutorial A Product of an ENGL 421 class at Purdue University Page 1.
The Dr ü G Book: An Intro to Drupal The Dr ü G Book: An Intro to Drupal (Dr ü G: Drupal User ’ s Group - users, not developers) This is an introduction.
2 President, Susan Hanley LLC Led national Portals, Management Collaboration, and Content practice for Dell Director of Knowledge Management at American.
Show your Drupal site who’s the boss! How to take control away from the system and give it back to the users!
Sage CRM Developers Course
Drupal Training Syllabus Chaitanya Lakshmi
System Basics and Structure. NOTE: Not Rostered – refers to team assignment in club tab only. It DOES NOT mean the player is officially.
EBSCOadmin. Select Change Password Select EBSCOadmin Security.
| imodules.com Summer 2013 Release Review Presented by Mark Werner Director of Product Management.
Drupal Commerce Better than Uber Andrew Root: druroot.
Hands-on: Setup Menu. What we will cover Access to Setup Codes Memos Forms Permissions Settings And more!
Drupal Overview Prepared by : Agustin D. Gumogda Jr. Instructor.
Seattle Drupal Clinic Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology.
What’s new in Kentico CMS 5.0 Michal Neuwirth Product Manager Kentico Software.
ECPIC Workflow Quick Guide: Event Subscriptions & Triggers Administrators can assign event subscriptions, which generate automatic, real-time notifications.
| See the possibilities… Standard Report Management/Menu Changes.
Bryan Proctor, Account Manager. Tips and Tricks  Version of ClientSpace  Password Configuration  Document Management  Task Enhancements  Systems.
Using Workflow With Dataforms Tim Borntreger, Director of Client Services.
Module 5: Managing Content. Overview Publishing Content Executing Reports Creating Cached Instances Creating Snapshots and Report History Creating Subscriptions.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Powerpoint Templates Page 1 Powerpoint Templates Get Up to Date Effective Website And Build a More Robust Ecommerce Business.
2016 CSO System Training & Networking Conference / Copyright © 2016 #csoconf 2016 CSO System Training & Networking Conference / Copyright © 2016 #csoconf.
Integrating Pantheon-Hosted Drupal with the UC Berkeley Research Hub BDUG Monday, February 24, 2014 Room 4, Dwinelle Hall.
INFM 700 Project 3 (Aqua) - Akashdeep Ray - Arnaud Lawson - Neha AR - Vidisha Vedvyas.
Microsoft Virtual Academy Jamie McAllister | SharePoint MVP & Solution Architect Rob Latino | Program Manager in Office 365 Support.
Membership Sites with Drupal 6 ● Setup USD Business Bank Account: HSBC ● Setup Merchant Account: Elavon ● Setup Payment Gateway: Authorize.net ● Configure.
 1- Definition  2- Helpdesk  3- Asset management  4- Analytics  5- Tools.
Mahara-Moodle Integration Iñaki Arenaza This work licensed under the conditions of “Creative Commons Attribution-Share Alike 3.0 Spain License”
CHM Portal Tool Kit Miruna Bulandra Finsiel Romania Copenhagen, 5 June 2002.
Justin Scheitlin Daisey Fahringer
Stavroula Balopoulou , Angelo Lykiardopoulos, Sissy Iona HCMR-HNODC
ICE Integrated Cloud Environment Cloud Scanning and Mobile Printing
Setting and Upload Products
Project Management: Messages
Cms Full-featured Flexible Web Content Management System for All Your Needs.
Customer Dashboard Tutorial
Pilot Watcher Product Overview V5.3
Authentication & .htaccess
CARA 3.10 Major New Features
Social Media Integration in 7.4
Viewbiquity HTML5 Tom Shafron Developer’s Blog CEO, Viewbiquity
Automatic RElease Service
LMEvents SharePoint Portal How-to Guide
How Coremetrics is Priced
Core LIMS Training: Advanced Administration
Riding the Wave of Innovation
PHP Training at GoLogica in Bangalore
Servicenow Admin Certification Training
SERVICENOW ADMIN & ADVANCED ONLINE TRAINING
The Way Eryk Budi Pratama
Applying for a contractor’s license online
Php Target Clone - Php Target Script - Macys Clone - Macys Script - Rakuten Script.
“Ready, Set, Wait a Minute”
07 | Workflows Chris Johnson | SharePoint Guru
Upcoming and New Product Releases
Patricia Tips & Tricks.
Applying for a contractor’s license online
Academy Hub An eUnomia Factory Solution.
Preceptor Introduction to CORE ELMS
IBM SCPM Basic Navigation
SupportCenter Plus Product Overview.
Rational Publishing Engine RQM Multi Level Report Tutorial
Network Analysis using Python
A Guide for Getting Started
Microsoft MB-230 Microsoft Dynamics 365 for Customer Service.
Is a Content Management System in Your Future?
Generate Data with Google Analytics SQL Saturday /04/2019.
Contract Management Software 100% Cloud-Based ContraxAware provides you with a deep set of easy to use contract management features.
Advanced Tips and Tricks
Presentation transcript:

Introduction to the Module Rules Introduction to the Module

Rules - https://www.drupal.org/project/rules Introduction Rules - https://www.drupal.org/project/rules Triggers (events) and actions, with conditions Coding with a UI More advanced version of the core Trigger module

Uses Solve problems on your site (custom modules) Create automated systems (scheduled or triggered) Re-use functionality Integrate with VBO, Commerce

Rules Breakdown 1 Events, Conditions, Actions

Rules Breakdown 1—Events, Conditions, Actions Events determine which entities are available to the rule. Some events also provide special conditions and actions. EVENTS “When” Defined triggers Determine which entities are available in the rule CONDITIONS Entities provide variables (e.g. fields). “If” Help narrow down/fetch specific entities ACTIONS Variables are used in conditions and actions. “Then” Can also be used to fetch entities

You found a Pikachu! Create a Basic Rule

You found a Pikachu!—Setup GOAL Display a Pikachu on authenticated users’ account page MODULES Rules File Entity SET UP Upload an image of Pikachu Add an image field to the user account page

You found a Pikachu!—Rule Creation Rule type: Rule Event: User account page is viewed Better option: User is created Condition: User has role(s) Authenticated user Action: Set a data value Field: account:[image-field]:file Value: image file ID (fid) Create actions Define conditions Choose event Determine rule type

Rules Breakdown 2 Components, Data Types, Parameters

Rules Breakdown 2—Components, Variables Events determine entities. Sub-rules Don’t require events Do require variables to be passed to them Allow you to add more conditions, form complex rule chains Entities provide variables. VARIABLES Variables are also used by components. The pieces of data the component will use Will be provided by the entity in the main rule Connections

Pick Your Pokémon Create a Layered Rule

Pick Your Pokémon—Setup GOAL Display the correct Pokémon on the user’s account page SET UP Upload two more Pokémon images Create three roles NOTE This Rule assumes you have created a way for users to be sorted into roles – like creating a field on the registration form that allows users to choose their team (role).

Pick Your Pokémon—Rule Creation Rule type: Rule Set Event: User account page is viewed Condition: -- Components: Three almost identical rule components Create components Choose event Determine rule type

Pick Your Pokémon—Component Creation Component type: Rule Set Condition: User has role(s) Action: Set a data value Field: account:[image- field]:file Value: image file ID (fid) Add components to main rule Create actions Define conditions Determine component type

Rules Breakdown 3 Lists, Loops

Rules Breakdown 3—Lists, Loops Multi-value fields Example: Taxonomy LOOPS Affect each value in the list PHP For Loop Work well with components

Rules Breakdown 3—Examples from BYU Studies On Journal Publishing Loops + components When a journal is published (a new journal product is created), expires subscribers, sends out emails. On License Activation, Set Expiration Issue Number Components When a customer buys or renews a subscription, the expiration issue is set

Tips and Tricks Use “Entity is of type” and “Entity has field” conditions to use custom fields in actions Use “Fetch entity by ID” and “Fetch entity by property” actions to bring in another entity or access entities that are not provided by events If using Commerce, clone their rules. Also, the Stock module allows you to modify the Add to Cart form with rules. Use the debug option! Configuration > Workflow > Rules > Settings > Show debug info (always [when testing – turn in off after]) To ensure that an entity has just changed, use two conditions Data comparison changed/updated status = [whatever state] Data comparison unchanged status NOT = [same state]

Resources Tutorial Links

Tutorials Drupalize.me Other Resources Introduction to Rules - https://drupalize.me/videos/introduction-rules?p=1157 Or Drupal 7 – All About Rules - https://www.drupal.org/node/1866108 Coding for Rules - https://drupalize.me/videos/coding-rules-overview?p=1152 Other Resources Test Drupal online - https://simplytest.me/ Pokémon images from Wikipedia