You are here:  » make search button a graphic


make search button a graphic

Submitted by Julian on Tue, 2006-08-29 22:30 in

hi

Im sure this is really easy but how do you make the search button a graphic ?

ive messed around with the searchform.php but i cant get it to work

thanks

Submitted by support on Tue, 2006-08-29 22:57

Hi Julian,

I think it should be something like this...

<div class='searchform'>
  <form name='search' action='<?php print $config_baseHREF ?>search.php'>
    <input type='text' name='q' size='35' value='<?php print (isset($q)?$q:""); ?>' />
    <input type='image' src='/search.gif' />
  </form>
</div>

Just make sure that the path to the image is absolute, e.g. "/path/to/search.gif" instead of just "search.gif".

Cheers,
David.

Submitted by Julian on Tue, 2006-08-29 23:44

works great - as always

thanks

PS is the pro version still on hold ? - I have my credit card at the ready to buy the upgrade if you change your mind

Submitted by support on Wed, 2006-08-30 06:42

Hi Julian,

The script is now fully up to spec as regards what the "Pro" version was going to be (I basically decided against having separate versions) so no plans for any major upgrades in the near future!

Cheers,
David.