[ 
https://jira.duraspace.org/browse/DS-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25055#comment-25055
 ] 

Àlex Magaz Graça commented on DS-1168:
--------------------------------------

Well, after having a look at how Cocoon and XMLUI work I've come to the 
following conclusions:

 - There's no way to put the search box in the right place from the Discovery 
aspect. Wing only allows to add stuff at the end of the DRI body.

 - Neither from theme's XLS without duplicating code.

The only reasonable solution I've found is adding a transform to the theme's 
pipeline which repositions the search box in the DRI document just before the 
theme starts processing it (patch updated). However, given the simplicity of 
the change, I'm not really sure about this solution. I feel like I'm missing 
something and there must be a better way to solve this.

Another possibility would be to simply leave the search box on the navigation 
bar and remove the one from the centre.
                
> Show a single search box in the front page
> ------------------------------------------
>
>                 Key: DS-1168
>                 URL: https://jira.duraspace.org/browse/DS-1168
>             Project: DSpace
>          Issue Type: Improvement
>          Components: XMLUI
>            Reporter: Àlex Magaz Graça
>         Attachments: single-search-box.patch
>
>
> There are currently two search boxes in the front page, one in the centre and 
> another in the navigation bar on the right. This duplication of functionality 
> can cause confusion to the users [1].
> To avoid this problem, the search box on the navigation bar should not be 
> shown on the front page.
> I'm attaching a patch implementing this behaviour. It also makes the search 
> box in the front page bigger, making it easier for users to enter text that 
> doesn't fit if the box is too small [2]. The idea was also to move the search 
> box up between the news-xmlui.xml text and the community list to give it more 
> importance but, as Discovery outputs it jointly with the recent submissions, 
> I didn't manage to get it right.
> PD: I've also published a branch in GitHub with the changes in case you find 
> it more useful:
> https://github.com/rivaldi8/DSpace/tree/search-boxes
> [1] 
> https://wiki.duraspace.org/display/~alexm/Usability+Test+Report#UsabilityTestReport-Searching
> [2] http://www.useit.com/alertbox/20010513.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to