Using AG search on non-AG pages
Posted: 2022-03-04 14:56
I have a site for which I use AG to manage all the data in a backend "admin" section.
The front-end (public-facing) pages are independent pages are not part of AG. However, I include defaultLang.php, language.php, and lib.php so I can use AG's query functions to get the data that is displayed.
I want to add a search to the front-end. Is there a way use AG's search to query the database and return the search results that I can then parse out and display on my pages?
The front-end (public-facing) pages are independent pages are not part of AG. However, I include defaultLang.php, language.php, and lib.php so I can use AG's query functions to get the data that is displayed.
I want to add a search to the front-end. Is there a way use AG's search to query the database and return the search results that I can then parse out and display on my pages?