Osclass forums

Support forums => General help => Topic started by: BritWeb on March 28, 2019, 11:16:00 pm

Title: Displaying links to 'Top Searches' on top of the item page.
Post by: BritWeb on March 28, 2019, 11:16:00 pm
Hi

Just wondering if there is way we can display links to 'Top Searches' on top of the item page related to the item being displayed. I know the searches are stored in the database and it's a question of sorting and pulling out the right info and displaying them as links. Please see the pic attached that explains my requirement.

Thanks in advance for any feedback.

Title: Re: Displaying links to 'Top Searches' on top of the item page.
Post by: fmohsen on April 24, 2019, 12:25:12 pm
Hi
you would use from functions in hSearch.php
get last search : osc_get_latest_searches();
get number search: osc_count_latest_searches();
and more function