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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

https://bitbucket.org/ndunn/favorites-extension/src/806258054e7ce10fb16179e30ad73756b2a761f7/src/main/resources/org/precog/favorites/movelabels.vm?at=default

This widget could not be displayed.

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 yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

147 views 1 4
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