Download & Extend

Form Child Theme

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

Version Downloads Date Links
7.x-1.0 tar.gz (6.84 KB) | zip (7.56 KB) 2011-May-10 Notes
6.x-1.0 tar.gz (6.9 KB) | zip (7.63 KB) 2011-May-10 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (6.92 KB) | zip (7.65 KB) 2011-May-11 Notes
6.x-1.x-dev tar.gz (6.99 KB) | zip (7.72 KB) 2011-May-11 Notes

Project Information


Maintainers for Form Child Theme

  • timhilliard - 11 commits
    last: 1 year ago, first: 1 year ago

Issues for Form Child Theme

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here