SimplePortal
Customization => Custom Coding => Topic started by: texasman1979 on February 27, 2011, 11:40:08 PM
-
im attempting to make an embedded search page on a simple portal custom page. but i put the code in the code box for an html page, but the code for the google search is never echo'ed to the page so therefore the search wont work. i feel what im after is a perfectly normal thing to do, the code wont echo.
<div id="cse-search-results"></div>
<script type="text/javascript">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 800;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
-
anyone got any clues?