StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-26-2009, 07:50 AM
picturetom picturetom is offline
Registered User
GenesisConnect
Pro Plus Member
 
Join Date: Dec 2008
Location: Cologne, Germany
Posts: 94
Default Google Site Search Integration

I want to integrate Google Site Search with Adsense Code on http://www.picturetom.com. The google code is written in javascript. What you need is the google search-field (look at picturetom right sidebar) and an integrated page for displaying the hits in the website frame.
I want to use the full width template with the URL http://www.picturetom.com/suche/.

But when you use the google search, there are no hits displayed within the site.

How can I solve the problem?

Best Thomas

PS.

here ist the original google Code for

1. Searchfield

<style type="text/css">
@import url(http://www.google.com/cse/api/branding.css);
</style>
<div class="cse-branding-bottom" style="background-color:#FFFFFF;color:#000000">
<div class="cse-branding-form">
<form action="http://www.picturetom.com" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-6602209233625322:1xfgx4-fhxd" />
<input type="hidden" name="cof" value="FORID:10" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="text" name="q" size="31" />
<input type="submit" name="sa" value="Suche" />
</div>
</form>
</div>
<div class="cse-branding-logo">

</div>
<div class="cse-branding-text">
Benutzerdefinierte Suche
</div>
</div>


2. for the Search hits displayed within picturetom.com


<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.de";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
__________________
picturetom is a nickname Thomas Schmidt has carried with him since his youth. He was always busy with photos (picture, pictures) and ‘tom’ is the short form for Thomas.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Professional-looking Google Maps integration Florux General Discussion 4 11-27-2009 04:01 AM


All times are GMT -5. The time now is 04:12 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.