Hi everyone!
I'm trying to figure out how the autocompletion on outside values works.
[1] Is that possible to use it for the dropdowns? I'm trying to do that but
have no results.
I've added this to the LocalSettings.php:
$sfgAutocompletionURLs['discourse'] = '
http://discoursedb.org/w/api.php?action=sfautocomplete&substr=new&property=Was_written_by&format=json
';
I've created the following field in the form:
{{{field|Was written by|input type=dropdown|values from
url=discourse|remote autocompletion}}}
I expect that the dropdown will be populated with the values from
discoursedb:
Bangor Daily News editorial board
Gavin Newsom, etc
... but nothing happens. What do I do wrong?
[1]
https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Autocompleting_on_outside_values
-----
Yury Katkov
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel