Blog articles tagged with drupal

Learning Drupal Module Dev: Dependent AHAH/AJAX Forms

03.21.2010 11:32PM by Evan Johnson

So, I've been working on a simple module for a Drupal project lately. I wanted to have two administrator settings for the module, the second of which depends on the first. A "dependent dropdown". It would be cool if it was "AJAXy" too, I thought. Well, it just so turns out that in Drupal 6 there are built in AHAH (Asychronous HTML and HTTP) functions in the Forms API...

Read the full article...

Comment [4]

How to programmatically create Views in Drupal 6

01.14.2010 10:08PM by Evan Johnson

So, this stumped me for a while. I needed my small custom Drupal module to select a bunch of nodes based on a CCK Date field and the Publish status. It is a pain to query the CCK tables directly, so every forum post I could find told me to do this via Views. That’s all well and good, but the instructions for doing this all involved creating...

Read the full article...

Comment [2]