Make Search bar dynamically appear at top of body

by William   Last Updated June 26, 2019 21:10 PM

One of our clients would like to have a search icon in their Main menu, which when clicked causes a search bar to appear at the top of the website's body. An example of this behaviour is at https://www.bioped.com/ . We have looked for Joomla extensions that do this for us, but haven't managed to find anything.

How should something like this be accomplished in the Joomla framework? I feel like this will involve writing a custom search module somehow. I have written modules and plugins, but I haven't written any yet that needs to access Joomla's built-in search functionality. Making the search bar appear seems like it should be relatively simple javascript (?), but it's not clear to me how to put the clickable search icon in the main menu.

Any help would be appreciated since I'm not sure where to start.



Related Questions


Updated April 02, 2016 08:04 AM

Updated January 22, 2018 06:10 AM

Updated December 28, 2018 16:10 PM

Updated June 07, 2015 22:04 PM

Updated July 21, 2016 08:04 AM