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.

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

465 views 19 9
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