This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

AJAX HOW TO for module developers

Hi everyone,

I would like to use AJAX (to submit form data and get response) for a simple module I am developing. From the disscussion that has been going on in the forums I have learnt about the functions (HTTPPost, HTTPGet etc) available in misc/drupal.js. But I have no idea as how to implement these functions. Can anybody point me to a 'HOW TO' or else provide me some examples on how to use this functions.

Perhaps a handbook page in the module developers guide could be dedicated for this purpose as I believe many are eager to try AJAX with Drupal.

Cannot get formproc module to count characters - any experts?

I am using Alex Reisner's excellent formproc module, but cannot get the "formproc_charcount" feature to work. A working example of it can be found at his page at:
http://www.alexreisner.com/drupal/modules/formproc

hook_settings using a textarea and forms api

What is the accepted method of collecting a list of values from a textarea in hook_settings and recording the list of values as a serialised array in the variables table? Or is it better to just save them as an unserialised string, as block.module does, for example?

Insert a footer in tablesort_sql is it possible?

Insert a footer in tablesort_sql is it possible?
(I want an ordered table with a sum of a column in footer.)

bye
Gianni

Alphabetical listing

How I can, changing this code:

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions