Hello,
I am finalising my move from joomla to drupal and have been pleased with my progress so far. One thing I have struggled with is the search.
I have created the look of how I wish my search box to appear here
however this is just a static html form and not the actual drupal search module so of course it doesn't do anything. To add the proper drupal search form I can replace my form with this in page.tpl.php
print $search_box
Unfortunatley this doesn't let me use an image for my "search" button and it has default text I would like to get rid of.
I thought this would be easy but it has been trickier than i expected. Would anyone mind pointing me in the right direction of how i can style / customise my search box as my searching (no pun intended) has not helped me thus far.
Thanks for reading
David
Comments
You have to override the
You have to override the search-theme-form.tpl.php template.
You can find it in drupal root/modules/search.
Put a copy of that file in your theme root folder and customize it at your will.
If you don't want to deal with templating you can probably do what you need using plain CSS modifying the style.css file inside your theme root.
google for "form button CSS image replacement" for hints.
thanks
I will give that a go