- Drupal - Announcements
- Drupal - Site Upgrade
- Drupal - Site Backup
- Drupal - Optimization
- Drupal - User Management
- Drupal - Comments
- Drupal - Taxonomies
- Drupal - Menu Management
- Drupal - Publish Content
- Drupal - Delete Content
- Drupal - Modify Content
- Drupal - Create Content
- Drupal - Create Pages
- Drupal - Create Articles
- Drupal - Create Blog
- Drupal - Static Pages
- Drupal - Front Page
- Drupal - Themes & Layouts
- Drupal - Blocks & Regions
- Drupal - Main Menu
- Drupal - Architecture
- Drupal - Installation
- Drupal - Overview
- Drupal - Home
Drupal Advanced
- Drupal - Site Security
- Drupal - Poll Module
- Drupal - Form Module
- Drupal - Contact Module
- Drupal - Aggregator Module
- Drupal - Book Module
- Drupal - Pane Module
- Drupal - Default Modules
- Drupal - Extensions
- Drupal - Internationalization
- Drupal - Social Networking
- Drupal - Triggers & Actions
- Drupal - Multilingual Content
- Drupal - Error Handling
- Drupal - Site Search
- Drupal - URL Alias
Drupal E-Commerce
- Drupal - Order History
- Drupal - Email Notifications
- Drupal - Invoice Generation
- Drupal - Setup Payments
- Drupal - Setup Shipping
- Drupal - Receive Donations
- Drupal - Setup Discounts
- Drupal - Setup Taxes
- Drupal - Create Categories
- Drupal - Create Products
- Drupal - Setup Shopping Cart
Drupal Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Drupal - Triggers & Actions
In this chapter, we will learn about Triggers and Actions in Drupal. First let s look into Triggers.
It can be defined as changes happening within your site. The actions can be carried out either after creating a new content or any page.
Triggers
Following are the steps that will help you use triggers in Drupal.
Step 1 − First cpck Modules from the menu bar.
Step 2 − When you cpck Modules, you get the following page.
Here enable Trigger module. Then cpck Save Configuration at the bottom of the page.
Step 3 − Go back to the Trigger module and cpck Configure on the right side of the page as shown in the following image.
Step 4 − When you cpck Configure, you get the following page.
We have different tabs on the page that specify each trigger.
Comment Module − You can assign action to only those triggers relating to comment module.
Node Module − You can assign action to those triggers relating to Node module.
System Module − You can assign action to only those triggers relating to System module.
Taxonomy Module − You can trigger actions to the Taxonomy module.
User Module − At last we have the user module, here actions must be assigned in User module.
Actions
Tasks carried on a particular system object are called actions.
Step 1 − Cpck Configuration from the menu bar.
Step 2 − Cpck on Actions from the system section.
Step 3 − When you cpck Actions, you get the following page.
Step 4 − Select any one action from the dropdown and cpck Create.
Step 5 − When you choose an option and cpck Create, The following page appears.
Following are the option fields present on the page −
Label − Give a name to your action
Recipient − Enter your email address
Subject − Enter a subject you want to add to the action
Message − Enter the message you want to send to the visitor when cpcked on any action.
After filpng all the details, cpck Save.
Step(6) − You can see that your action is added to the pst.
Advertisements