Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Radios Select is the helper utility which provides new custom look of the
ordinary radios form element via jQuery/CSS (when you create this element from
your own module). The main feature of Radios Select is ability to format output of radios field like "select" form element or dropdown menu. Once Radios Select module enabled you can create Radios Select form element by just adding new property "#radios_select" to any standard radios element:
$form['radios_select'] = array(
'#type' => 'radios', // yes, ordinary radios element
'#title' => t('Select value:'),
'#default_value' => 1,
'#options' => $values,
'#radios_select' => TRUE, // enables Radios Select for this radios element
'#description' => t('Value to use in form.'),
);
Smiley is a text filter that substitutes text emoticons, like :-) with images.
It comes with a set of example smileys, but you can import ready-to-use packages (e.g.: from phpBB's "pak"s and Adium Emoticon packs) or define your own.