SimplePortal

Support => English Support => Topic started by: z_dane on May 03, 2010, 10:40:28 AM

Title: Page - Google Result Page
Post by: z_dane on May 03, 2010, 10:40:28 AM
I use page (PHP type)  to create google search result page but still not working. This code totally from google

Code: [Select]
<center><div id="cse-search-results"></div>
<script type="text/javascript">
  var googleSearchIframeName = "cse-search-results";
  var googleSearchFormName = "cse-search-box";
  var googleSearchFrameWidth = 600;
  var googleSearchDomain = "www.google.com";
  var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
</center>

System Info
Powered by SMF 1.1.11 |
SimplePortal 2.3.2
Title: Re: Page - Google Result Page
Post by: AngelinaBelle on May 03, 2010, 10:56:06 AM
This example is not php code.
You might to change your page type to HTML and give it another try.
SimplePortal 2.3.8 © 2008-2024, SimplePortal