By amoutiers on
Hello,
Is someone has an idea how to theme the search box on drupal 6 ?
I've take a look at the search.module ans saw this function
function theme_search_block_form($form) {
return '<div class="container-inline">'. drupal_render($form) .'</div>';
}
so I've created this function in my template.php file but there's no change
function phptemplate_search_block_form($form) {
return '<div class="another-class">'. drupal_render($form) .'</div>';
}
thanks
Comments
I have this in my
I have this in my template.php file:
and this in a new file search-theme-form.tpl.php :
This example uses an image for the search button. You can modify it to use a form button instead.
search
...
Deletedlookng for a developer too to stick social modules together....Deleted<?del>woops wrong place. sorry to interupt
ok, but why
ok, but why phptemplate_search_block_form() function isn't called ?
i'm not sure it works there now an ID in the $form array