Hi, I was wondering how to implement the google CSE search form on my site with search-theme-form.tpl.php

I currently have the template file that displays the normal drupal search form, but I would like to replace it with the google CSE search.

I tried the simplest way of

$search_form = drupal_get_form('google_cse_searchbox_form');
print $search_form;

and the form displays correctly but when I hit submit nothing happens and the page simply reloads.

I was wondering how to retrieve individual form parts and direct the form processing.

Much appreciated.

Comments

malcomio’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Tidying up the issue queue, and marking issues as won't fix where the version is no longer supported.