How to use Google CSE with Drupal
It’s been a long time since I visited my site’s Google Custom Search Engine (CSE) settings page. I was happy to see that in 2012 Google apparently added a new option to sort results by date, as well as site image searching. This should be a real boon for users. But at the same time, I noticed that under the Look and Feel settings, it now says that the iFrame display method is deprecated. That’s fine by me, iFrames have been discouraged by web developers for years, so I’m glad to see that Google is moving away from them. So, I happily inserted the new Google CSE code into my Drupal 6 site and tried out the search function, only to be greeted by this error: Page not Found But fortunately, there is a workaround. And it’s not at all easy to find this information on the Internet. Background First of all, I should explain how I implemented the Google CSE on my Drupal 6 site. Read more