I actually did exactly this.  I added a column to both the Community and 
Collection tables entitled "local_display_order" (I use the "local" prefix on 
any column or table I add to the database so I can easily identify them later). 
 Then I modified Community.java and Collection.java to new the new column to 
order my Communities and Collections.  I use PGAdminIII to update the column to 
the desired number/order.
Sue


Sue Walker-Thornton
(w):  (757) 864-2368
(m):  (757) 506-9903


-----Original Message-----
From: Tim Donohue [mailto:[email protected]] 
Sent: Friday, January 04, 2013 10:51 AM
To: Parul dubey
Cc: '[email protected]'
Subject: Re: [Dspace-tech] Queries

Hi Parul,

I answered several of these questions already in a separate thread. But, here's 
some more specifics now that I know you are using JSPUI.

On 1/4/2013 4:47 AM, Parul dubey wrote:
> Hi
>
> I have a query kindly provide a possible solution for the same.
>
> 1.I have some Communities as Books , Periodicals , Events , Others.
>
>                 The default order is showing as :
>
> */                Books, Events, Others , Periodicals/*
>
>                  But I want the community to be displayed as:
>
> */               Books, Events,  Periodicals , Others/*
>

Unfortunately, DSpace always orders Communities alphabetically. There is no 
easy way to customize Community ordering. You'd have to do custom Java 
development to implement this -- it'd likely also involve needing to add a 
column to the "community" database table to store the order.

So, this is unfortunately not something that's easy to do in DSpace. 
It'd be extremely complex and require a lot of custom development.  The only 
other option I can think of is to hardcode the list of communities into the 
"community-list.jsp" and "home.jsp" pages.

[dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/community-list.jsp
[dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/home.jsp

But hardcoding your list of communities would not be user friendly, as you'd 
have to modify those JSPs & rebuild DSpace every time you wanted to add a new 
Community.

> 2.Replace the name *subject* with *Keywords* from the Button(Subject) 
> during search.

In the JSPUI, any text can be modified in the Messages.properties file.

In this case, I believe the key you want to change in the Messages.properties 
file is this one:

jsp.search.advanced.type.keyword = Subject

Full instructions are here:
https://wiki.duraspace.org/pages/viewpage.action?pageId=19006090

> 3.Can new fields be added to the search criteria.(apart from *title ,
> author*  new fields like *edition , volume* etc.)

Yes, you can add new search fields to DSpace by modifying the dspace.cfg file & 
reindexing your content. The basic instructions are here:

https://wiki.duraspace.org/display/DSPACE/Modify+search+fields

> 4.show all the metadata fields in *Simple record* rather than clicking 
> to the *Show Full Item Record*. And not include term *dc.*

You can configure which metadata fields are displayed in the JSPUI simple 
record in your dspace.cfg file.  The basic nstructions are here:
https://wiki.duraspace.org/pages/viewpage.action?pageId=19006086

Good luck!

- Tim

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get 
web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to