It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Remove / replace quick search from menu in Confluence 5.1

Nathan Dunn Jul 17, 2013

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

0 votes
Alex Holtz Dec 16, 2013

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.

0 votes
Nathan Dunn Dec 16, 2013

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

0 votes
Daumantas Krug May 05, 2016

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,402 views 11 28
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you