Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
1.6k views
in Plugins by

Per http://www.question2answer.org/qa/21903/new-plugin-google-custom-search?show=40515#a40515

what is CSE page name?

Is it the name of search engine created in https://www.google.com/cse ?

In google cse

cse config

in q2a

q2asite

 

But when i do a search it throws below error(per Chrome inspect element):

 

Refused to display 'http://www.google.com/cse?cx=USERID%ENGINEID&ie=UTF-8&c…ort%252Fforum%252F%26ref%3Dwww.digi.com%252Fsupport%252Fforum%252F%26ss%3D' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

Q2A version: 1.5.4

1 Answer

+1 vote
by
edited by

"Page name" of longvic will be "Page path (URL)" for search result.

Please read readme-en.txt.

Options
 
[Enable Google Custom Search]
  OFF: Disable Google-CSE plugin
  ON:  Enable Google-CSE plugin
[Mode]
  Replace: Only CSE
  Hybrid: Change Q2A and CSE
[UserID:EngineID]
  Specify User-ID and Engine-ID connected by ":"
[Laguage code]
  Language code to which priority is given by search results.
[Page path for search result]
  The path to search result page is specified with the relative path from Q2A root.
 
Example
 
[UserID:EngineID]:
partner-pub-9999999999999999:9999999999
 
[Page path for search result]
searchresult (Default: searchcse)
by
> /forum/search?q=40002363&qa-googlecse-select=q2a  the resultant path for Q2A search.
Yes. If you search in GCSE, URL is different.
e.g.
http://YourDomain/searchcse?cx=partner-pub-9999999999999999%3A9999999999&ie=UTF-8...

Check also example view.
http://www.question2answer.org/qa/?qa=blob&qa_blobid=7149047176211598482
by
Thanks, looks like in plugin configuration i need to add partner-pub- along with userid:engineid.

But now it throws me error , can you take a look at www.digi.com/support/forum/ ?
Do i need to have a adsence account?
What if i dont want to show ads.
by
i have no idea :(
Is there anything that i need to be careful on google cse configuration side?
...