cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the search panel more visible? How to move it?

jzaruba
Champ in-the-making
Champ in-the-making
Hello

Please, what files need to be modified to move/copy the top-right search panel right above the dashboard? It would then be right below the titlebar and next to the navigator panel.
(I'm not talking about the OpenSearch component that can be added into the dashboard, because I want also the search options menu there.)

I just can't figure what *.jsp should I edit. I tried to modify dashboard.jsp and even browse.jsp, but these don't seem to reflect the changes I made.
Modifying titlebar.jsp does work though, so I can hide/remove the search panel from the title-bar.

If I move the search panel from the titlebar it will be missing in other views, so that is not ideal solution. Therefore I should probably copy it into its new place. Then there will be two in the default view, but as long as they both work it doesn't matter to our users that much.

The search panel gets just way too little attention in the default view.

Regards
J. Záruba
2 REPLIES 2

amitabhandari1
Champ in-the-making
Champ in-the-making
Hi jzaruba,

Please try to make change in navigator.jsp palced in location sidebar/navigator.jsp.
Below are the highlighted changes you can make:

<r:navigator id="navigator" activeArea="#{NavigationBean.toolbarLocation}" />
<table>
<tr>
<td>
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td><img src="<%=request.getContextPath()%>/images/parts/searchbar_begin.gif" width="6" height="31" alt=""/></td>
<td style="width:100%; background-image: url(<%=request.getContextPath()%>/images/parts/searchbar_bg.gif);">
<r:simpleSearch id="search" actionListener="#{BrowseBean.search}" />
</td>
<td><img src="<%=request.getContextPath()%>/images/parts/searchbar_end.gif" width="6" height="31" alt=""/></td>
</tr>
</table>
</td>
</tr>
</table>


Thanks,

jzaruba
Champ in-the-making
Champ in-the-making
Thank you Amita, now when I'm more thinking of it the Sidebar might actually be a better place for the search input. Smiley Happy

Navigator accepts only the <r:simpleSearch/> tag, it throws the rest (table markup) outside itself in the DOM, but that's OK.
(To modify the simpleSearch resulting markup one needs to modify org.alfresco.web.ui.repo.component.UISimpleSearch.java.)

P.S.: Can I click a 'thank you' anywhere?