Google Search
Add a Google AND Wikipedia search like here. Feel free to generalize and/or simplify this hack. --LarryEitel 03:45, 2 August 2005 (UTC)
Look for something like:
<div id="p-search" class="portlet"> <h5><label for="searchInput"><?php $this->msg('search')?></label></h5> <div class="pBody"> <form name="searchform" action="<?php $this->text('searchaction') ?>" id="searchform"> <input id="searchInput" name="search" type="text" <?php if($this->haveMsg('accesskey-search')) { ?>accesskey="<?php $this->msg('accesskey-search') ?>"<?php } if( isset( $this->data['search'] ) ) { ?> value="<?php $this->text('search') ?>"<?php } ?> /> <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('go') ?>" /> <input type='submit' name="fulltext" class="searchButton" value="<?php $this->msg('search') ?>" /> </form> </div> </div>
Insert after:
<div id="p-search" class="portlet"> <h5><label for="searchInput">Google Search</label></h5> <div class="pBody"> <!-- SiteSearch Google --> <form method="get" action="http://www.google.com/custom" target="_top"> <table border="0" bgcolor="#ffffff"> <tr><td nowrap="nowrap" valign="top" align="center" height="32"> <a href="http://www.google.com/"> <img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google"></img> </a><br/> <input type="hidden" name="domains" value="noblood.org"></input> <input type="text" name="q" size="16" maxlength="255" value=""></input> </td></tr> <tr><td nowrap="nowrap" align="center"> <table> <tr><td> <input type="radio" name="sitesearch" value="noblood.org" checked="checked"></input> <font size="-2" color="#000000">NoBlood</font> </td> <td> <input type="radio" name="sitesearch" value="wikipedia.org"></input> <font size="-2" color="#000000">Wikipedia</font> </td> <td> <input type="radio" name="sitesearch" value=""></input> <font size="-2" color="#000000">WWW</font> </td></tr> </table> <input type="submit" name="sa" value="Search"></input> <input type="hidden" name="ie" value="UTF-8"></input> <input type="hidden" name="oe" value="UTF-8"></input> <input type="hidden" name="hl" value="en"></input> </td></tr> </table> </form> <!-- SiteSearch Google --> </div> </div>