Posted by marcfarsight on August 19, 2008 at 4:04pm
Jump to:
| Project: | Theme Settings API |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | marcfarsight |
| Status: | closed (fixed) |
Issue Summary
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
#1
This is the wrong queue for this kind of support request, but this might be what you want: http://drupal.org/node/144132