Login     Sign up
Costom search by google
Eliz zeta (@eliz)
Join date: Nov 29th 2010
Community posts: 153
View Profile
Send Message

As you see, forums in jcow dont have a good search motor, i see her that search is customized to google code.
what's the code to do this ?
delete the original search and put google's one or just modificate the jcow search by default ?
and speacking about search, it s not very effective, when i search by nickname, it works, but if you search other field, for example : phone number , even if you put the correct phone number of a user, it gives no results.
is there any way to extend search to all fields?

thanks

172 months ago
Vincent T (@vincent)
Join date: Jun 18th 2010
Community posts: 298
View Profile
Send Message

Just add google site search to your Jcow template:
[url]http://www.google.com/sitesearch/[/url]

172 months ago
Mentor X (@marvy)
Join date: Dec 3rd 2010
Community posts: 6
View Profile
Send Message

i have the google custom search code, here it is

<!-- Use of this code assumes agreement with the Google Custom Search Terms of Service. -->
<!-- The terms of service are available at http://www.google.com/cse/docs/tos.html -->
<form name="cse" id="searchbox_demo" action="http://www.google.com/cse">
<input type="hidden" name="cref" value="" />
<input type="hidden" name="ie" value="utf-8" />
<input type="hidden" name="hl" value="" />
<input name="q" type="text" size="40" />
<input type="submit" name="sa" value="Search" />
</form>
<script type="text/javascript" src="http://www.google.com/cse/tools/onthefly?form=searchbox_demo&lang="></script>

my problem is, where to i place it in my jcow script to make it visible and not destabilize the jcow script.

172 months ago