Hi Greg, seems as if you are using the jspui. Which version of DSpace are you using?
For 1.5.* copy [dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/collection-home.jsp [dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/community-home.jsp to [dspace-src]/dspace/modules/jspui/src/main/webapp/collection-home.jsp [dspace-src]/dspace/modules/jspui/src/main/webapp/community-home.jspEdit the versions in modules. Take a look at the following section in collection-home.jsp, this is where the recent submissions are displayed:
<h3><fmt:message key="jsp.collection-home.recentsub"/></h3>
<%
if (rs != null)
{
Item[] items = rs.getRecentSubmissions();
for (int i = 0; i < items.length; i++)
{
DCValue[] dcv = items[i].getMetadata("dc", "title",
null, Item.ANY);
String displayTitle = "Untitled";
if (dcv != null)
{
if (dcv.length > 0)
{
displayTitle = dcv[0].value;
}
}
%><p class="recentItem"><a href="<%= request.getContextPath()
%>/handle/<%= items[i].getHandle() %>"><%= displayTitle %></a></p><%
}
}
%>
Edit/remove this part and run
mvn package
ant update
and redeploy your application.
Hope that helps
Claudia Jürgen
Greg Johnson schrieb:
Is there a way to remove the "Recent Submissions" section that shows up on the right side bar of a community or collection page? We would like to put something else over there, but whenever we add items to the collection, the text gets pushed down by links to the newly submitted items. We are running DSpace on a Windows server if that helps. Thanks greg ------------------------------------------------------------------------ ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart yourdeveloping skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!http://p.sf.net/sfu/devconference ------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech
<<attachment: Claudia_Juergen.vcf>>
_______________________________________________ Dspace-general mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/dspace-general
