more onion - devblog

Primary tabs

Articles from more onion - devblog

When you're using form_builder you possible want to remove some of the form elements from the palette of fields to show the users only those elements they need. I can show you a simple although not really elegant way to achieve this.

In my previous devblog I showed you how to add your own fields to the form_builder palette. This alone isn't cool enough so here I show you how to group your shiny new self defined fields into your own palette group.

Tags:

The form_builder module is a handy thing when you want to create webforms in drupal. Its drag & drop UI is really user friendly and for our project "advocacy engine" we want just that.

For some quick unit-tests I decided to try PHPUnit instead of Drupal's own Simpletest framework. With a simple script it allowed me to run all the Unit-Tests in my module in a matter of seconds.

Tags:

There are many reasons why a feature containing the definition of a content type with some fields added will forget about the fields when you install the feature.

Pages