The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Why wont my serch bar come up for a widget?

3 posters

Go down

Why wont my serch bar come up for a widget? Empty Why wont my serch bar come up for a widget?

Post by Igrac May 23rd 2009, 7:18 pm

I put in the code and it works on this site
http://htmledit.squarefree.com/

but when i put it in a widget it doesnt work

http://gcctextbook.darkbb.com/forum.htm
avatar
Igrac
Forumember

Posts : 32
Reputation : 0
Language : English

Back to top Go down

Why wont my serch bar come up for a widget? Empty Re: Why wont my serch bar come up for a widget?

Post by Rok May 23rd 2009, 9:59 pm

Hm, it should work Did you try placing it in your homepage message instead?
Rok
Rok
Energetic

Male Posts : 6823
Reputation : 234
Language : idk

Back to top Go down

Why wont my serch bar come up for a widget? Empty Re: Why wont my serch bar come up for a widget?

Post by Igrac May 24th 2009, 3:33 am

Rok wrote:Hm, it should work Did you try placing it in your homepage message instead?

I did that and you can see the result of that was nothing

Anyone else know whats wrong?
avatar
Igrac
Forumember

Posts : 32
Reputation : 0
Language : English

Back to top Go down

Why wont my serch bar come up for a widget? Empty Re: Why wont my serch bar come up for a widget?

Post by ankillien May 24th 2009, 5:09 am

The code you are using in not correct.
Try this instead...
Code:
<form action="http://gcctextbook.darkbb.com" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="partner-pub-3648687846203715:aavcpsimafe" />
    <input type="hidden" name="cof" value="FORID:10" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>

And don't forget to hit the "A/A" button on the top-right corner before you add the code.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Why wont my serch bar come up for a widget? Empty Re: Why wont my serch bar come up for a widget?

Post by Igrac May 24th 2009, 10:59 pm

ankillien wrote:The code you are using in not correct.
Try this instead...
Code:
<form action="http://gcctextbook.darkbb.com" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="partner-pub-3648687846203715:aavcpsimafe" />
    <input type="hidden" name="cof" value="FORID:10" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>

And don't forget to hit the "A/A" button on the top-right corner before you add the code.

what is the A/A button?
avatar
Igrac
Forumember

Posts : 32
Reputation : 0
Language : English

Back to top Go down

Why wont my serch bar come up for a widget? Empty Re: Why wont my serch bar come up for a widget?

Post by ankillien May 25th 2009, 5:34 am

If you are in HTML mode, it won't show up, so don't worry if it is not there.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum