How to make the search panel more visible? How to move it?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2011 01:40 PM
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
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
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2011 03:01 AM
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,
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,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2011 02:05 AM
Thank you Amita, now when I'm more thinking of it the Sidebar might actually be a better place for the search input.
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?
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?