I've created a custom Google search for our sites, and would like to add the code for it to our sidebar, so that users can access it directly from our site. The HTML is:
<!-- Google CSE Search Box Begins --> <form id="searchbox_008347340077112958749:8vjvepxyuvu" action="http://google.com/cse"> <input type="hidden" name="cx" value="008347340077112958749:8vjvepxyuvu" /> <input type="hidden" name="cof" value="FORID:0" /> <input name="q" type="text" size="40" /> <input type="submit" name="sa" value="Search" /> </form> <script type="text/javascript" src="http://google.com/coop/cse/brand?form=searchbox_008347340077112958749%3A8vjvepxyuvu"></script> <!-- Google CSE Search Box Ends -->
Any idea how to do this? Am I going to have to write a plugin and use it to return the HTML?
Thanks, Ken
On 26/06/07, Ken McDonald ken@pixologic.com wrote:
I've created a custom Google search for our sites, and would like to add the code for it to our sidebar, so that users can access it directly from our site. The HTML is:
Inject the HTML into the skin template file; for MonoBook, this is skins/monobook.php.
Rob Church
mediawiki-l@lists.wikimedia.org