Let us know how to customize the JSPUI interface in DSpace 6.3 version
1. Replace the default DSpace Branding Heading and Dspace logo
Create a
Header image, Put it in the home folder, and Copy it into the jspui/image
folder from the home folder.
cp header.png /opt/tomcat/webapps/jspui/image
Open the terminal, log in with the root user and
apply the following command to open the file.
sudo gedit
/opt/tomcat/webapps/jspui/layout/header-default.jsp
Find the below lines in the file and comment with the tags (<%-- --%>)
<%--
<div class="container banner">
<div class="row">
<div class="col-md-9 brand">
<h1><fmt:message key="jsp.layout.header-default.brand.heading" /></h1>
<fmt:message key="jsp.layout.header-default.brand.description" />
</div>
<div class="col-md-3"><img class="pull-right" src="<%= request.getContextPath() %>/image/logo.gif" alt="DSpace logo" />
</div>
</div>
</div>
--%>
Add the following HTML line under the commented Syntax. See the below picture. (Or replace the above lines with the given below HTML Line. )
<img src="/jspui/image/header.jpg" width="100%" height="100%" alt="" />
2. Edit Top News
Now log in to the Dspace Repository with a Username and Password
Administrator➞General setting➞edit news➞Top News
Replace the default HTML codes with the below HTML codes. After than save and close.
<p style="margin-top:5px; text-align:justify;" class="well">Welcome to <strong>Digital Repository of MANC</strong>. You can access here variety of data including subject-related Notes, E-books, Project Reports, Previous year's Question Papers, Dissertations, Thesis, and other forms of content. All resources are arranged on the basis of community and collection which helps user to easily categorize</p></div></div>
Change the Repository name welcome message (Red Color) accordingly.
3. Edit sidebar News
Administrator➞General setting➞edit news➞sidebar news
As I want to display nothing in the area of the sidebar so delete the default code. Save and close.
0 Comments