[Mediawiki-l] Adding custom Google search to sidebar
Ken McDonald
ken at pixologic.com
Tue Jun 26 20:54:34 UTC 2007
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
More information about the MediaWiki-l
mailing list