Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drupal module development examples

Tags:

module

drupal

I'm new to Drupal, but I want to create an add-on. The add-on requires some sort of multi-page form with advanced jQuery (I already looked at the jQuery module). The add-on requires details of the current logged in user and will also communicate with an external database.

I've been looking at tutorials concerning Module creation etc. But they mostly cover creation of simple forms, where as what I want to create is more of a plugin.

like image 448
user485659 Avatar asked Nov 21 '25 21:11

user485659


2 Answers

Multi page forms are a total drag. Pro Drupal Development, has a very good section on this topic, and I highly recommend that book if you are doing any Drupal development.

Online I found the following article pretty useful too (though I ultimately went with my own system).

http://www.nicklewis.org/using-chaos-tools-form-wizard-build-multistep-forms-drupal-6

like image 90
dkinzer Avatar answered Nov 24 '25 07:11

dkinzer


There's a decent example here: http://thedrupalblog.com/creating-multipage-form-using-forms-api

To make the most out of this, you're going to want to get pretty friendly with the Form API: http://drupal.org/node/204270

Sadly Drupal.org seems to be missing a Drupal 6.x explanation (though plenty exist for 5.x and 4.7 oddly enough).

like image 34
Dominic Avatar answered Nov 24 '25 09:11

Dominic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!