Samisite Webmaster Community Forum

General Category => General Discussion => Topic started by: SafariWoman on April 04, 2007, 04:31:52 AM

Title: Need help with changing Google search code
Post by: hidden on April 04, 2007, 04:31:52 AM
I use Google search through their affiliate program and the code comes pre checked for search Google. I have seen it changed on other sites and tried to change mine  :banghead:

It comes out all misaligned and with some coding showing every time.

Here is the part of the code that references the check box. Can anyone tell me how to change it specifically?

THANKS! I tried several times before asking.  :surrender:

<input type="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-1" color="#000000">Web</font>
</td>
<td>
<input type="radio" name="sitesearch" value="InspirationMotivation.com "></input>
<font size="-1" color="#000000">InspirationMotivation.com </font>
Title: Re: Need help with changing Google search code
Post by: hidden on April 04, 2007, 05:37:28 AM
original code

<td>
<input type="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-1" color="#000000">Web</font>
</td>

<td>
<input type="radio" name="sitesearch" value="InspirationMotivation.com "></input>
<font size="-1" color="#000000">InspirationMotivation.com </font>
</td>

Try moving the
check="checked"
to your part

new code

<td>
<input type="radio" name="sitesearch" value=""></input>
<font size="-1" color="#000000">Web</font>
</td>

<td>
<input type="radio" name="sitesearch" value="InspirationMotivation.com " checked="checked"></input>
<font size="-1" color="#000000">InspirationMotivation.com </font>
</td>
Title: Re: Need help with changing Google search code
Post by: hidden on April 04, 2007, 05:45:40 AM
YES!!! Thanks So Much!!!! I tried to do that exact thing -I still don't know what I did wrong.  :-\
Title: Re: Need help with changing Google search code
Post by: hidden on April 04, 2007, 06:15:40 AM
Er NO! or Maybe? Good grief - so I tried it on my new site rebuild and my old Cute site - and no matter which version of it I tried, altered or unaltered, or where - or which button was clicked it only searched Google and not my site!

If anyone has time - could you please visit my site http://inspirationMotivation.com and at the bottom is the original unchanged google search box and let me know if it searches my site for you? I'd like to know if it's just me before I write them - it takes forever to hear back anyway.

Did the code get mad at me for changing it???

Thanks!!! Sorry to be a pest.
     

Title: Re: Need help with changing Google search code
Post by: hidden on April 04, 2007, 06:31:27 AM
<input type="radio" name="sitesearch" value="InspirationMotivation.com ">
there is a space at the end after .com but before the "
try removing it.
Title: Re: Need help with changing Google search code
Post by: hidden on April 04, 2007, 12:39:27 PM
Or you could make it easier and use the MSN search function that does this automatically. I use it on my main site. ETA: Unlike the Google search, though, the MSN doesn't pay you for any clicks, so if you're looking for that it wouldn't help. Much cleaner look, though, IMHO --  You can see the plain insert version (no code tweaking) here (http://www.frodolivesin.us/).
Title: Re: Need help with changing Google search code
Post by: hidden on April 04, 2007, 02:33:50 PM
I'll try it and let you know -- I thought about that but I have already made money with Google search - so it is hard to turn down free money for such a small effort of using their search box.. lol

no one said if it was searching my site or not but I will just try the change suggested and let you know
Title: Re: Need help with changing Google search code
Post by: hidden on April 04, 2007, 02:56:35 PM
I didn't see that little space - I guess I need better glasses -  :ss-shocked: lol It worked on the old Google code so unless you hear back I am betting it will work on the new one. Thanks again!!!!!!  :D