Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
jQuery-ahm is a light-weight jquery plugin that reduces ajax requests to one-line.
Features
jQuery-ahm is a replacement for $.ajax. With $.ajax, every ajax request needs a callback, resulting in a lot of javascript. $.ahm reduces javascript code by letting the response data define the actual callbacks.
Super light-weight: ~1KB minified
Reduces ajax requests to one-line (including ajax form validation)
No more custom callbacks for every ajax request
Lets back-end define post ajax callbacks (applied automagically)
Supports all jquery + custom callbacks in back-end code
Drop in replacement for $.ajax() (supports all $.ajax options)
Configuration
The module has an admin interface, where you can enable to always include the JavaScript file to the site.
Otherwise you can include it manually via a simple function callback:
The evil module will try to be ran from your drush commands or Drupal bootstap code in ways you may not expect. It is designed to be used for penetration testing and debugging.
This module should generally NOT be installed on your Drupal site. It serves no other purpose than being noticed and try to nag users as much as possible. Do not enable this module unless you know what you're doing.
Rationale
The idea behind this project is that while we generally assume trusted users maintain the modules on your site, unstrusted users may be able to creep through your install and deploy a module in a location that you wouldn't expect, but still that Drupal would still bootstrap and run. This module is therefore designed to be hooked into as many places as possible in Drush and Drupal bootstrap sequences so that it gets loaded any time you:
* bootstrap drupal (if the module is in sites/all/modules)
* bootstrap drush (it has a .drush.inc file)
* load themes (it should have a .theme file too, while we're at it)
This module allows you to define CCK nodes as checkout/order panes in Ubercart.
This is useful if you want to collect additional information during the checkout process. For example, you may want a quick survey or require additional fields that apply to the entire order.
Using the CCK module allows for many advantages: the forms/fields can easily be modified by an end-user; less development time is required to create database tables and code to store/retrieve the data; and the form will remember the user's previous answers.