/    Sign up×
Community /Pin to ProfileBookmark

How to ghange these codes?

Hello,
Iam trying to integrate Getcy search engine
into my website.Iask for the codes and they
sent me this email.
My problem is that i don’t understand how to do both,
Search engine form and the search results page.
What kind of changes of the form i have to do?

Sorry for these questions,it might sound easy to do for you but for me is very difficult ?

[code]
Thanks for your interest in Getcy project.

Below are the codes that you requested. There are two snippets – one
for the search form and one of the search results. Both snippets
below assume the “Getcy :: General” section search. If you wish to
display search results on your web site, than you’ll need both pieces.
And you will have to change the form action destination in the form
snippet. Alternatively, you can just use the search form, and the
results will be displayed on the Getcy web site.

Code for search form:

<!– Google CSE Search Box Begins –>
<form id=”searchbox_008824529145025772999:fys_73rgiji”
action=”http://getcy.com/”>
<input type=”hidden” name=”cx” value=”008824529145025772999:fys_73rgiji” />
<input name=”q” type=”text” size=”40″ />
<input type=”submit” name=”sa” value=”Search” />
<input type=”hidden” name=”cof” value=”FORID:9″ />
<input type=”hidden” name=”getcy” value=”general” />
</form>
<script type=”text/javascript”
src=”http://google.com/coop/cse/brand?form=searchbox_008824529145025772999%3Afys_73rgiji”></scri
pt>
<!– Google CSE Search Box Ends –>

Code for search results:

<!– Google Search Result Snippet Begins –>
<div id=”results_008824529145025772999:fys_73rgiji”></div>
<script type=”text/javascript”>
var googleSearchIframeName = “results_008824529145025772999:fys_73rgiji”;
var googleSearchFormName = “searchbox_008824529145025772999:fys_73rgiji”;
var googleSearchFrameWidth = 600;
var googleSearchFrameborder = 0;
var googleSearchDomain = “google.com”;
var googleSearchPath = “/cse”;
</script>
<script type=”text/javascript”
src=”http://www.google.com/afsonline/show_afs_search.js”></script>
<!– Google Search Result Snippet Ends –>[/code]

to post a comment
Full-stack Developer

0Be the first to comment 😎

×

Success!

Help @mikey7777 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...