Remove / replace quick search from menu in Confluence 5.1

I want to remove the quick search macro in the menu header and replace it with my own macro. In Confluence 2.X-4.X this was pretty easy to do . . hide #quicksearch_macro and replace it with my own using $helper.render("{mymacro}"), which I could do by editing the site layout.

To do this in 5.x I have to do this by editing decorators/include/aui-header-secondary.vm . . .

### <li>#auiQuickSearch($isSpaceSearchEnabled, $spaceKey)</li>

<li>$helper.renderConfluenceMacro("{mymacro}") </li>

Is there a way I can do this in the admin panel?

3 answers

Did you ever figure this out, Nathan? I find myself needing to do the same thing while upgrading our 3.5.x site to 5.4.x.

No, I never got a response. The "best" solution would be to load your macro on the page and then move it into position use JavaScript, removing the old "Search" plugin in the process.

Feels a bit hacky, but in theory should work.

Could this QuickSearch be related to QuickSearch ads that I see while browsing??? I can't remove them, no matter what I do! I have already tried looking for this virus with my anti-virus. No luck. What else could I do? According to this QuickSearch review, I should I try manual removal but I am not sure about my computer knowledge.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,434 views 110 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you