1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to add Google Custom Search to the Search "error" results page

Discussion in 'Styling and Customization Questions' started by cdub, Apr 13, 2013.

  1. cdub

    cdub Well-Known Member

    I want to add the Google Custom Search on the page after you get this error:

    The search could not be completed because the search keywords were too short, too long, or too common.

    I want it to say beneath this something like "try google custom search" but I can't seem to find the correct template to put it in.

    It won't let me put the code in the phrase.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    That error appears in an overlay so it's not a simple case of adding the custom search code to it.

    Your best option would be to edit the search page template itself and add it there and update the phrase advising visitors.

Share This Page