Google custom search results not showing in "search.html" file

3 replies · opened Oct 16, 2016

Ddmihajlovic2008Oct 16, 2016

Hello,

I copyed the JS code from the "search.html" file in Package/HTML Folder. Also, I created my cx Key on Google Custom Search page. On my Search results page - bcompany.rs/search.html the only thing I replaced in JS code is cx Key. But I am getting Search resault on a modal that I get from Google, instead of showing on the page it self. (I have attached the screenshot). When I use yours cx Key on my page, the resaults are showing on the page, as they should. Is there a problem whit my code, or the problem is in the settings on Google Custom Search?

Thanks & Regards,
Dusan Mihajlovic

Ddmihajlovic2008Oct 17, 2016

I fixed the problem. It was in the settings on Google Custom Search.

Thank you anyway

Ddmihajlovic2008Oct 17, 2016

I chose by mistake Overlay setting for my results

SSemicolon WebSTAFFOct 17, 2016

Hello,

Thank You so much for your Patience! Indeed, you will need to Select the Proper Layout for your Search Results. Please check out this Reference: https://www.dropbox.com/s/md4rqdrpzuwrkvy/google-cse-setup.png?dl=0 .

Really Glad that this issue was resolved. Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard