Drupal 7 Module Development - JavaScript confirm part 2

By shane
Tue, 2013-02-19 22:54
Daily Dose of Drupal Episode #112

Share with Others

In the last episode we covered creating a simple module to display a javascript confirmation popup before leaving a page. In this episode we take that a step further and add a nice administrative interface to the module.

In this episode you will learn:

  • How to implement hook_menu to add an administrative page to your custom Drupal module
  • How to build a Drupal administrative form
  • How to match page patterns to determine when to display the Javascript confirmation box

Thanks to Drupalize.me for sponsoring this episode of the Daily Dose of Drupal.

File attachments: