Search with autocomplete Suggestions in navbar

Search with autocomplete Suggestions in navbar

yazan Stefan Lehneis -
Yanıt sayısı: 2
Plugin developers 'ın resmi

Hello all,
i just updated my moodle installation to version 3.9.2. 

i would like to add a searchbox with autocomplete functionality in the navbar.
Quite similar to the usersearch for enrolling user like in the screenshot.

I am a little confused about all the new template stuff. 

Maybe somebody can give a good starting point on how this could work out? 



The backend returning data already exists.

Stefan Lehneis yanıt olarak

Re: Search with autocomplete Suggestions in navbar

yazan Emma Richardson -
Documentation writers 'ın resmi Particularly helpful Moodlers 'ın resmi Plugin developers 'ın resmi
You might look at the quickfindlist plugin and the quickcourse plugin - they both use the autofill and might help you to get started...
Emma Richardson yanıt olarak

Re: Search with autocomplete Suggestions in navbar

yazan Stefan Lehneis -
Plugin developers 'ın resmi
Thanks a lot...
But these Plugins are not working within mustache templating.
Well, gonna investigate on it gülüyor
I thought there must be quite an easy solution because moodle core itself is able to do that job like its done in the screenshot above