The Quick Navigation search function in Conf 2.10.xx is something I want to include in the header of my custom theme (Builder 3.3.2-conf2.10). How can this be done?
I've placed html used in the confluence theme search into my theme header content:
{table:width=100%|cellpadding=0|cellspacing=0|border=0}
{table-row}
{table-cell:width=50%}{builder-breadcrumbs}{table-cell}
{table-cell:align=right}
{html}
<form id="quick-search" method="get" action="/dosearchsite.action">
<fieldset>
<legend>Quick Search</legend>
<input id="quick-search-query" type="text" accessKey="q" autocomplete="off" name="queryString" size="25"/>
<input id="quick-search-submit" type="submit" value="Search"/>
</fieldset>
<fieldset class="hidden parameters">
<input type="hidden" id="quickSearchPlaceholder" value="Quick Search <ctrl>-q">
<input type="hidden" id="quickNavEnabled" value="true">
</fieldset>
</form>
{html}
{table-cell}
{table-row}
{table}
To no avail. I get the same search behavior as if I used a search-box macro.
Anyone have any ideas?
Is there a way to get the Quick Navigation search functionality in a custom theme?
.png)








Comments (11)
Jan 23, 2009
Alain Moran says:
Not at this time ... it's likely going to require the addttion of a macro to bui...Not at this time ... it's likely going to require the addttion of a macro to builder itself.
Apr 24, 2009
Rupert Shanks says:
So what exactly are you guys using for your search in the new website? I tried ...So what exactly are you guys using for your search in the new website?
I tried the LiveSearch macro but doesnt work like the Quick Navigation
Apr 24, 2009
Alain Moran says:
we added a new macro to 3.3.4 and 3.4.0 called {builder-search} - there are no p...we added a new macro to 3.3.4 and 3.4.0 called {builder-search} - there are no parameters to this macro, it just re-uses the internal confluence code for generating the quick-search.
NB: this macro requires 2.10 to work, it will not give you quick-search functionality in previous releases of confluence.
Jun 22, 2009
Steeve Cayla says:
Alain, I know that your builder-search macro is NOT the livesearch macro, but I...Alain,
I know that your builder-search macro is NOT the livesearch macro, but I kinda need a functionnality, and I don't think your builder-search macro does the trick :
Is there some parameters I can specify to search only in a specific space such as
(I'm taking the livesearch macro as reference for the parameter)
Thanks for your answer.
Jun 22, 2009
Alain Moran says:
Builder-search just pulls in the confluence quick-search functionality, it does ...Builder-search just pulls in the confluence quick-search functionality, it does not implement that functionality - it is a pass-through in much the same way as builder-labels, builder-children & builder-comments dont actually implement those features, they just pull them from the base confluence install.
We have no plans to implement our own quick-search, if you need this to make this happen then we can prepare a quote for it, but it isnt going to be cheap
Jun 22, 2009
Steeve Cayla says:
Okay, So, if it's based on the quick-search functionnality, I should be able to ...Okay,
So, if it's based on the quick-search functionnality, I should be able to modify the quick-search macro as described here to be able to search (at least) in the current space. I'll also have to modify quick-search.vm in Builder I guess to make it work correctly. It may work...
Apr 24, 2009
Stacy Hills says:
Oh, that is very nice, indeed! Thanks Alain.Oh, that is very nice, indeed!
Thanks Alain.
Apr 24, 2009
Guy Fraser says:
It will be once we get the positioning right on the pop-up suggestion list. Atla...It will be once we get the positioning right on the pop-up suggestion list. Atlassian hard coded the position of the list based on the default theme so we need to do some tweaking to get it to appear in the right place.
Apr 24, 2009
Alain Moran says:
Mark already added code to fix that ... if you have an example of it not working...Mark already added code to fix that ... if you have an example of it not working then you should create an issue in the BSUP project and assign it to Mark.
Apr 29, 2009
Steve Lane says:
This sounds great - just what I need. But I can't find it in Builder 3.4.0-M1-co...This sounds great - just what I need. But I can't find it in Builder 3.4.0-M1-conf210. Is it not in any of the available prerelease versions yet?
Apr 29, 2009
Alain Moran says:
Correct, quick search is not in 3.4.0-M1 ... it is in M2 which we expect to rele...Correct, quick search is not in 3.4.0-M1 ... it is in M2 which we expect to release later this week, also in 3.3.4 as used on this site.