/[drupal]/contributions/modules/ahah_helper/ahah_helper_demo.install
ViewVC logotype

Contents of /contributions/modules/ahah_helper/ahah_helper_demo.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Fri Aug 29 18:58:21 2008 UTC (14 months, 4 weeks ago) by wimleers
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, DRUPAL-6--2-0, HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/x-php
Initial commit of the AHAH helper module. By using this module, you will no longer have to write menu callbacks, you'll be able to write functional tests even for #ahah-powered form items, graceful degradation becomes easy and adding new #ahah-powered form items in an AHAH callback becomes supported. No core hacks. Sponsored by Mollom.
1 <?php
2 // $Id$
3
4 /**
5 * Implementation of hook_enable().
6 */
7 function ahah_helper_demo_enable() {
8 drupal_set_message(t("The AHAH helper demo module has been enabled. Give a
9 look at the <a href=\"!demo-form-url\">demo form</a>
10 and don't forget to disable this module!",
11 array('!demo-form-url' => url('ahah_helper_demo'))));
12 }

  ViewVC Help
Powered by ViewVC 1.1.2