I am trying to add a search field (search module) to the Main Menu or in the empty space right next to the menu.
My efforts so far have failed. I created a new row in the astroid-header with a grid layout of 9/3 and replaced menu in the astroid header section with it. I actually don't care what the grid layout is (9/3, 10/2, etc.) as long as the menu and search module fit together horizontally. This caused the layout to go haywire. I also tried some plugins that allow modules to appear as menu items, but these caused double modules to appear, or showing source code on the web page, also wreaking havoc to the layout.
I'm trying to place a simple Search field on the menu in the empty space under the Member/Provider sign in buttons and immediately to the right of the last menu item, "Provider Search" (See attached screenshot)
I also tried creating two new positions (astroid-header-left and astroid-header-right) in templateDetails.xml, but this also caused the page layout to go haywire.
Any suggestions on how to add a search field to the Main Menu bar?
That worked! Thank you, Sch!
I had been so close to making it work before, and I don't know what detail I had gotten wrong, but following your steps exactly and creating a new search (as opposed to using the one I created prior to installing Astroid) solved my issue and gave me what I needed. Thank you so much!
Ventura County Health Care Plan
Last Edit: 6 months 2 weeks ago by VCHCP. Reason: Punctuation edit and additional clarity.
The administrator has disabled public write access.
How to include a search module in the Main Menu?
6 months 2 weeks ago #29890
JoomDev is not affiliated with or endorsed by Open Source Matters or the Joomla! Project. The Joomla! logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.