Ajax AutoComplete Support Product Page
Answered
Add condition to db request
Asked 12 years ago
2
have this question
12 years ago Adel MHARI posted:
HelloHow can I add a condition in the request generated by the extension, for example : "mydb.myfield = 1". I took a look at the generated autocomplete.php file but can't can't figure out how to complete this.
It would be a good thing to have this option in the extension, a field where we can add custom conditions.
Best Regards
Adel
Replies
Replied 12 years ago
12 years ago Adel MHARI replied:
Hi
This message is tagged as "answered" but I didn't receive any answer.
Best Regards
Adel
This message is tagged as "answered" but I didn't receive any answer.
Best Regards
Adel
Replied 12 years ago
12 years ago Teodor Kuduschiev replied:
Hello Adel,
Unfortunately this is not possible using Ajax Autocomplete.
Unfortunately this is not possible using Ajax Autocomplete.
Replied 12 years ago
12 years ago Adel MHARI replied:
Hi Teodor
Actually I've created a view in my db in order to get the right data,;but not anybody can do this in order to finetune his query; that's why I think that this can be a interesting feature for a future release of Ajax AutoComplete .
Best
Adel
Actually I've created a view in my db in order to get the right data,;but not anybody can do this in order to finetune his query; that's why I think that this can be a interesting feature for a future release of Ajax AutoComplete .
Best
Adel
Replied 12 years ago
12 years ago Andres Gonzalez Michaca replied:
Replied 12 years ago
12 years ago Adel MHARI replied:
Hi Andres
Thanks, That's exactly what I'm using actually in two projets.
The use of views is a good way to finetune your query and display data as you want using concatenation. This way you don't break the extension code.
But maybe DMXZONE will add such a feature in the extension, allowing custom queries and custom display of the resulting data ??
Adel
Thanks, That's exactly what I'm using actually in two projets.
The use of views is a good way to finetune your query and display data as you want using concatenation. This way you don't break the extension code.
But maybe DMXZONE will add such a feature in the extension, allowing custom queries and custom display of the resulting data ??
Adel
Replied 12 years ago
12 years ago Jamie oates replied:
would agree filtering via userid should be included in the plugin, whats the chance of adding this as a feature........
thanks for the tips is just what i needed
thanks for the tips is just what i needed