Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
Ajax search help
Support Forums - Classified Ads Script Osclass
Osclass theme support
Stela Osclass Theme
Ajax search help
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
pitbull
98 posts
Ajax search help
«
on:
January 30, 2019, 02:49:13 PM »
Hi, yesterday i purchased Stella theme and now i am trying to make some improvements changes to the ajax search autocomplete function at the home page.
My problem is that i cant find how the search make queries to the database !! Where is the file that is responsible for the data base queries ? Thanks in advance.
Logged
MB Themes
Support team
17474 posts
Only quality matters
Download Osclass
Re: Ajax search help
«
Reply #1 on:
January 30, 2019, 02:55:50 PM »
@pitbull
You may enable query debug log (check docs) and view queries.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
pitbull
98 posts
Re: Ajax search help
«
Reply #2 on:
January 30, 2019, 03:04:33 PM »
How can i do that @frosticek ?? Could you please help me a liitle bit ? In what file can i do that ? I just to add the lines
define('OSC_DEBUG_DB', true) ;
define('OSC_DEBUG_DB_LOG', true) ;
on my config file?
«
Last Edit: January 30, 2019, 03:06:34 PM by pitbull
»
Logged
MB Themes
Support team
17474 posts
Only quality matters
Download Osclass
Re: Ajax search help
«
Reply #3 on:
January 30, 2019, 04:01:00 PM »
Correct, once you are logged in as admin, you will see all queries issued against database at bottom of current page.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
pitbull
98 posts
Re: Ajax search help
«
Reply #4 on:
January 30, 2019, 04:07:47 PM »
Ok, did that but i cant undersatand what url is used for autocomplete display data in your home page ajax item search autocomplete
Logged
MB Themes
Support team
17474 posts
Only quality matters
Download Osclass
Re: Ajax search help
«
Reply #5 on:
January 30, 2019, 04:09:04 PM »
@Pitbul
You may find it in source code and global.js
Data for ajax are coming from file contact.php
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Print
Pages: [
1
]