Add Google search to codeigniter 4 website |
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>
This works for me.
Code: <!-- <!-- Horiz --> Try that. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(03-29-2021, 02:30 AM)InsiteFX Wrote: This works for me.
SEE:
How to add custom google search bar inside your web-page? What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |