filmov
tv
Drupal 7 Module Development Tutorial #4 - Inserting Data Into and Deleting Data From Our Database

Показать описание
In this 4th video tutorial on Drupal 7 module development, I show you how we can insert data into and delete data from our database. To do so, we first call the hook hook_flag_flag from the flag module and use the Devel module to look inside the variables passed to the function. From there, we are able to grab the data we need and using the database api, insert our data into the database.
Following similar steps, we conclude the tutorial by deleting the data from the database when a node is unflagged.
Drupal 7 Module Development Tutorial #1 - Setting Up Our Project and Writing our .Info File
Drupal 7 Module Programming Tutorial Part 1
Drupal 7 Module Development Tutorial: Theming the block -- Part 1 | packtpub.com
Drupal 7 Module Development Basics - Daily Dose of Drupal 16
How to create a custom module in Drupal 7 and using hook_menu
Developing Modules in Drupal 7
Drupal 7 Module Development Tutorial #7 - Theming Tables with Drupal's Form API
Drupal 7 Module Development Tutorial: Understanding the hook_block_view Function | packtpub.com
Drupal 7 Module Development Tutorial #3 - Creating Tables with Hook_Schema
Drupal 7 Tutorials #66 - Creating a Feature Module
Drupal 7 Module Development Tutorial: Understanding the block_contents custom Function | packt
Drupal 7 Module Development Tutorial #10 - Drupal's Hook_Form_Alter and Variable_Set
Drupal 7 Module Development Tutorial #5 - Creating Paths with Hook_menu
Drupal 7 Module Development Tutorial #9: Creating Permissions with Hook_Permission
Drupal 7 Module Development Tutorial #2 - Creating a Default Flag with the Flag API
Module Development: Drupal 7 Theme functions and templates - Daily Dose of Drupal episode 40
Cool Drupal 7 Modules #2: Administration Menu Module
Drupal 7 Module Development Tutorial #6 - Querying the Database with DB_SELECT
Drupal 7 Module Development Tutorial: Theming the block -- Part 2 | packtpub.com
Drupal 7 Module Development Tutorial #4 - Inserting Data Into and Deleting Data From Our Database
Drupal 7 Quicktabs Module - Daily Dose of Drupal Episode 30
Drupal 7 Module Development Tutorial #11 - Using Template_Preprocess to Change the Flag Link
How to create a custom module in Drupal 7 and output a block
drupal7 contact form development tutorial
Комментарии