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 12-04-2008, 10:21 PM
kdevilbiss kdevilbiss is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 28
Default Replacing Integrated Search w/ Google Search

I'm using Code Blue - just upgraded from Revolution 3.0 - and I had Google search working with the search form before, but now I'm having trouble. I want to retain the slick new look of the search box in code blue.

Here's what the Code Blue search looks like:

<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" value="Search this website..." name="s" id="s" onfocus="if (this.value == 'Search this website...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search this website...';}" />
<input type="submit" id="sbutt" value="GO" /></form>

And this is how I had it working with Revolution 3.0:

<form action="URL-Search-Page-is-RemovedForPrivacy" id="cse-search-box">
<input type="text" value="To search, type keywords and hit enter..." name="q" id="s-head" onfocus="if (this.value == 'To search, type keywords and hit enter...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'To search, type keywords and hit enter...';}" />
<input type="hidden" name="cx" value="partner-publisher-string-here" />
<input type="hidden" name="cof" value="FORID:11" />
<input type="hidden" name="ie" value="ISO-8859-1" />
</form>

I'd also like to change the text displayed inside the box (To search, type ...) - when I've tried to change it previously, it lost that ability to instantly vanish when I clicked in the box. Does that make sense?

Thanks...
 

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
How to change the search bar for a search bar by google ? Picool General Discussion 9 09-26-2010 07:55 AM
Lijit vs. WP search vs. Google Custom search Jeff Hester General Discussion 1 05-14-2010 10:38 AM
Replacing Old Search Bar With Google's Search Bar byron General Discussion 2 02-06-2009 02:30 PM


All times are GMT -5. The time now is 06:19 AM.

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