I was hoping one kind person could tell me how to implement the Google Custom Search (box/form) while maintaining the look/classes of the existing search form. I can probably figure out how to get the results to show within my own site but I'm not really sure how to modify search_theme_form.tpl and still get the same CSS and stuff. much appreciated
Hey dizzy - I can take a look at this but I just need a couple bits of info - what module are you using to display the Google Search, and where/how are you placing it on the template? Modifying search_theme_form.tpl won't affect the output of anything other than Drupal's search.
Hi Rob, sorry for my funky description there but I'm an amateur what can I say. I'm not using any module yet. I just wanted to place the form code from "Google Custom Search" into the existing Smooth Sailing - Style 2 form. So in the end it will be the custom search form you styled for Smooth Sailing but when used by member they will infact be using my "Google Custom Search" instead of Drupal's search.
Just an update on this - you can copy and paste the code provided by Google Custom Search into search_theme_form.php, but it apparently pulls its styles directly from Google's servers which overrides any styling in the Smooth Sailing theme itself. I'm reading through the documentation and it appears that altering the code is a violation of the ToS, and beyond the styling options provided by Google itself I can't yet see anyway to alter the look of the form. I see that you can change the styling of the results page to some degree, but the information on the search element itself appears to be mysteriously absent.




