Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By mfer on
I am trying to move the poll selects to the right rather then the right. I would guess this is done with the forms api. But, upon examing the code for themeing to throw a callback in the template.php file for the theme I can't figure out what to change.
I'm starting with the theme for the block poll. I am not sure how to change the $form['choice'] for the choices to show up on the right. Any ideas?
$output .= '
';
$output .= '
$output .= '
';
$output .= '
$output .= '
';
$output .= form_render($form['choice']);
$output .= '
$output .= form_render($form['choice']);
$output .= '
';
$output .= form_render($form['nid']);
$output .= form_render($form['vote']);
$output .= '
';
$output .= form_render($form);
$output .= '
';
return $output;