Skip to main content

Home/ Drupal for Developers/ Group items tagged element

Rss Feed Group items tagged

Daniel Gregoire

Wrapper ID (form-item) not displayed for Checkboxes / Radio Buttons CCK Fields | drupal... - 1 views

  •   if (!empty($element['#id'])) {    $output .= ' id="'. $element['#id'] .'-wrapper"';  }  else { // if we can't get the #id from $element['#id'] just build it from $element['#name']    $id=explode("[value]", $element['#name']);    $output .= ' id="'. $id[0] .'-wrapper"';  }
  •  
    Small fix for giving radio/checkbox form elements a proper ID on their wrapper. By default in 6.16 and CCK, no proper CSS ID is given to the wrappers of radio buttons and checkboxes, making it impossible to theme the layout of those elements in the form (specifically for me, the node edit forms).
anonymous

Using CTools for form item dependency / visibility | computerminds - 0 views

  •  
    One of several helpers included in the ctools module, ctools dependency is described on the module page itself as "a simple form widget to make form items appear and disappear based upon the selections in another item". It's designed to make it easy and quick to hide/show form elements based on the value of other form elements in the browser using javascript.
Scott Blackburn

Form generation | drupaldocs.org - 0 views

  •  
    Functions to enable output of HTML forms and form elements. Drupal uses these functions to achieve consistency in its form presentation, while at the same time simplifying code and reducing the amount of HTML that must be explicitly generated by modules.
Scott Blackburn

Feed API + Emfield Recipe | drupaltherapy.com - 0 views

  •  
    Here is a quick recipe that uses Drupal's Feed API, Feed Element Mapper, CCK and the Embedded Media Field to create independent embedded video nodes on your Drupal site by RSS. This is our first screencast and first contribution to the Drupal Dojo, hopefully you will find this interesting and try it out yourself.
Scott Blackburn

Better themablity of group details block | drupal.org - 0 views

  •  
    This patch adds * classes to elements of group details block * keys with name of content type to content creation link array Both changes allow better themability of the group details block.
Scott Blackburn

Subform Element | drupal.org - 0 views

  •  
    I use this for user profiles. Needed for the nodeprofile module
1 - 8 of 8
Showing 20 items per page