Continuing on the Thread: “Google and Red Leaf Skin”!!!
OK, I found that I can’t use Google’s “Form Tags” because it double up on the already existing Form in DNN pages.
With Mitchel Sellers help I removed the “Form Tags” and put in the “action string” as:
<input id="sbb" type="submit" name="sa" value="Search" onClick="this.form.action='http://www.google.com.au/custom';this.form.submit();" />
At least the button works and opens the Google window, but the window displays the following error though:
Not Implemented
The server is unable to process your request.
I’ve tested the Google Code in a HTML Page (with form tags) and it works – but not in DNN?
HELP PLEASE !!!!
ORIGINAL GOOGLE CODE:
<!-- SiteSearch Google -->
<form method="get" action="http://www.google.com.au/custom" target="google_window">
<table border="0" bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
</td>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="www.goldcoastwebwiz.com"></input>
<label for="sbi" style="display: none">Enter your search terms</label>
<input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">Submit search form</label>
<input type="submit" name="sa" value="Search" id="sbb"></input>
</td></tr>
<tr>
<td> </td>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value="" checked id="ss0"></input>
<label for="ss0" title="Search the Web"><font size="-1" color="#000000">Web</font></label></td>
<td>
<input type="radio" name="sitesearch" value="www.goldcoastwebwiz.com" id="ss1"></input>
<label for="ss1" title="Search www.goldcoastwebwiz.com"><font size="-1" color="#000000">www.goldcoastwebwiz.com</font></label></td>
</tr>
</table>
<input type="hidden" name="client" value="pub-2932432577714842"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input>
<input type="hidden" name="hl" value="en"></input>
</td></tr></table>
</form>
<!-- SiteSearch Google -->