Posted by timhilliard on February 26, 2011 at 12:11am
Form Child Theme is a helper module that allows you to theme the expanded elements of the checkboxes and radios elements within forms simply by adding '#child_theme' as a variable when declaring the element within a form.
For example:
$form['checkboxes'] = array(
'#type' => 'checkboxes',
'#title' => t('My Checkboxes'),
'#options' => $my_options,
'#child_theme' => 'checkboxes_child_theme',
);This means that once the checkboxes are expanded out to each checkbox element they will inherit '#child_theme' to '#theme' => 'checkboxes_child_theme'.
This module works for Drupal versions 6 and 7.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Theme Enhancements
- Reported installs: 4 sites currently report using this module. View usage statistics.
- Downloads: 276
- Last modified: April 27, 2011