Add Google search to codeigniter 4 website - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Add Google search to codeigniter 4 website (/showthread.php?tid=78929) |
Add Google search to codeigniter 4 website - coderscvoen - 03-28-2021 Hi, first things first; i asked this same question on stackoverflow but no solutions yet so am asking it here hopping someone has an answer. I need help integrating google search engine into a website. I know how to generate the code and have done so in the past for non codeigniter projects and everything worked well. In codeigniter, it is always returning no results on every query and am stuck on where the issue is. I was wondering if it was the way codeigniter's folder structure is arranged or the .htaccess files codeigniter comes with? This is the code generated by google;
Code: <script async src="https://cse.google.com/cse.js?cx=29f801461421f4ef0"></script> RE: Add Google search to codeigniter 4 website - InsiteFX - 03-29-2021 This works for me. Code: <!-- <!-- Horiz --> Try that. RE: Add Google search to codeigniter 4 website - coderscvoen - 03-31-2021 (03-29-2021, 02:30 AM)InsiteFX Wrote: This works for me. RE: Add Google search to codeigniter 4 website - InsiteFX - 03-31-2021 SEE: How to add custom google search bar inside your web-page? |