Hi,
I've been trying to use a function for theming a table with form information, and it doesn't even get called. Does anybody understand why the use of layouts/themes in drupal 6 it's not working the same than in version 5?
in my form function I'm calling: $form ['Activity']['time']['until']['#theme'] = 'theme_time2';
which is: function theme_time2 (&$form) {
//put the layouting for the selects until
$output .= "
".theme('select', $form['dateday'])." | ".theme('select', $form['datemonth'])." | ".theme('select', $form['dateyear'])." | ".theme('select', $form['hour'])." | ".theme('select', $form['minute'])." |
";
return $output;
}
If there's some documentation I can't find, I'd be grateful you could send it.
Marc
Comments
Comment #1
JohnAlbinThis is the wrong queue for this kind of support request, but this might be what you want: http://drupal.org/node/144132