Search and Top Navigation
#7236 closed feature (notabug)
Opened April 11, 2011 12:09PM UTC
Closed April 11, 2011 12:20PM UTC
$_GET[term] announse in documentation
Reported by: | richardho | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.autocomplete | Version: | 1.8.11 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
It is of high value if the document could be updated with information on the search.php file under autocomplete -> datasource. It would be highly valuable to get information on the formation of the file as well as how to query the file. I would recommend to give following information about the solution:
syntax of search.php:
header('Content-type: application/json');
[{"value": "Jane", "id": 12},
{"value": "Tom", "id": 13},
{"value": "Jones", "id": 15}]
and the querypart:
A query (term=) will be sent to the PHP file, witch allows you to give a limited list as a result.
Anyhow, thanx for a great an beautiful solution.
Attachments (0)
Change History (1)
Changed April 11, 2011 12:20PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
We don't document server-side solutions. We document what output is necessary, not how to generate it.