SimplePortal

Customization => Custom Coding => Topic started by: texasman1979 on February 27, 2011, 11:40:08 PM

Title: a small issue with portal custom page and google search
Post 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.

Code: [Select]
<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>
Title: Re: a small issue with portal custom page and google search
Post by: texasman1979 on February 28, 2011, 07:38:44 PM
anyone got any clues?
SimplePortal 2.3.8 © 2008-2024, SimplePortal