Add another item in output.search_box

Add another item in output.search_box

by Michael Sewelies -
Number of replies: 1

Which renderer needs to be overridden in template to output an additional icon + link in the output.search_box?
( see figure blue arrow )

Little scribble from usernavigation


My first attempt (to expand navbar.mustache - see next figure) only works to a limited extent, since the icon + link can also be seen in the template that is not registered.
So I'm looking for a way to implement the additional icon + link via the output.search_box.
If this is the right way(?)

Question for you: Who had the same challenge and how was it solved?
Thanks very much!
example code from navbar.mustache

Average of ratings: -
In reply to Michael Sewelies

Re: Add another item in output.search_box

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I don't know, but if I needed to work this out, I would search the code for some of the distinctive-looking strings in the HTML, to find where in the code they are coming from. E.g. searching for 'search_box' seems to find a managably short list of places to check.