How to create a google custome search?

Discussion in 'Google' started by kids, Dec 4, 2011.

  1. #1
    Hi DPs,

    I have applied a CSE to http://www.resetcounter.com (Wordpress). I get code in my Google Adsense Account. Please check and tell me why, result is empty.

    Thanks.
     
    kids, Dec 4, 2011 IP
  2. smaluioa

    smaluioa Well-Known Member

    Messages:
    282
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    100
    #2
    It is very simple:

    (i) Paste the code for the results page in notepad

    (ii) Use the 'find' function to find the words "customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);"

    (iii) After that line, add the words "customSearchControl.setLinkTarget(google.search.Search.LINK_TARGET_SELF);"

    (iv) Test your results. The clicked result should open in the same page.
     
    smaluioa, Dec 4, 2011 IP
  3. gadsenselover

    gadsenselover Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    problem resolved :)
     
    gadsenselover, Dec 4, 2011 IP
  4. kids

    kids Active Member

    Messages:
    411
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    68
    #4
    I can not find "customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);" as you guide, please tell me more about it! Thanks.
     
    kids, Dec 4, 2011 IP
  5. rising_sun

    rising_sun Peon

    Messages:
    908
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
  6. localnumberone

    localnumberone Peon

    Messages:
    152
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You can add Google Custom Search box from Webmasters Tools also. It's simple you only have to apply for custom search box in your blog's webmaster account and it'll provide you a script add that script in your Blog's Css. That's it.
     
    localnumberone, Dec 12, 2011 IP