Search with autocomplete Suggestions in navbar

Search with autocomplete Suggestions in navbar

by Stefan Lehneis -
Number of replies: 2
Picture of Plugin developers

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.

Average of ratings: -
In reply to Stefan Lehneis

Re: Search with autocomplete Suggestions in navbar

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
You might look at the quickfindlist plugin and the quickcourse plugin - they both use the autofill and might help you to get started...
In reply to Emma Richardson

Re: Search with autocomplete Suggestions in navbar

by Stefan Lehneis -
Picture of Plugin developers
Thanks a lot...
But these Plugins are not working within mustache templating.
Well, gonna investigate on it smile
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