DSpace/C2/Customization-of-DSpace-Home-page-on-Ubuntu-Linux-OS/English
Script: Customization of DSpace Home Page
Author : Pankaj Patil
Keywords: DSpace Customization, Home page customization, Dspace Logo, DSpace Banner, DSpace news
Visual Cue | Narration |
Slide: Title | Welcome to this spoken tutorial on Customization of DSpace home page. |
Slide: Learning Objectives | In this tutorial, we will learn to * Change DSpace logos
|
Slide: System requirements | This tutorial is recorded using* Ubuntu Linux OS 18.04
However you may use any other text editor or browser of your choice. |
Slide: Pre-requisites | To practice this tutorial, you should have* Installed DSpace version 6.3 on your system
|
Slide: Pre-requisites | Pre-requisites:* You should be familiar with basic Linux commands and HTML tags
|
Slide: Code Files | The files and commands used in this tutorial are available in the Code Files link on this tutorial page.
|
Slide : DSpace Customization | * DSpace is a highly customizable software application.
|
Slide : DSpace UI Customization | The user interface of DSpace can be modified for* Branding of a repository
Now, let us understand the different sections of the DSpace home page. |
Open Web Browser
|
Open a web browser.
|
Point to different portions in DSpace home page | We have a Navigation bar logo located at the top-left corner.
|
Point to different portions in DSpace home page | Below the banner section, we have a green color bar called breadcrumb bar.
|
Slide: DSpace Navbar logo
|
Let us begin with the customization of the DSpace Navigation bar logo.
|
Ctrl+Alt+T keys | Open the terminal by pressing Ctrl, Alt and T keys together. |
Only Narration | Here onwards please press the Enter key after typing each command. |
[Terminal] Type:
cd Downloads |
Go to the folder where you downloaded the images.
|
[Terminal] Type:
|
Then we will move the logos folder to the DSpace user’s Home folder.
|
[Terminal] Type:
|
Now, login as dspace user by typing sudo su - dspace.
|
Slide : DSpace source code | The source code for DSpace is located in the dspace-6.3-src-release directory.
|
[Terminal] Type:
|
We will first change the current working directory to the DSpace Image directory.
|
[Terminal] Type:
sudo mv dspace-logo-only.png dspace-logo-only-old.png |
Let us rename the default DSpace navigation bar logo for backup purposes.
|
[Terminal] Type:
|
My new logo is in the Home directory of dspace user on my machine.
|
[Terminal] Type:
|
Next we have to rebuild DSpace to update these changes.
|
[Terminal] Highlight BUILD SUCCESSFUL message | On successful completion, BUILD SUCCESSFUL message will be displayed. |
Refresh DSpace Home page | Now, switch to the browser and refresh the page.
|
Only narration | In case, if you can’t see the updated logo, kindly clear the cache and refresh the page. |
Slide : DSpace logo
Location: /home/dspace/dspace-6.3-src-release/dspace-jspui/src/main/webapp/image Dimensions: 165 x 132 pixels. |
Next let us try to add our logo instead of the DSpace logo next to the banner section.
|
[Terminal] Type:
sudo mv logo.gif logo-old.gif |
Let us rename the existing logo for backup purposes.
|
[Terminal] Type:
|
Copy the new logo from Home directory of dspace user to DSpace Image directory.
|
[Terminal] Type:
|
Now, rebuild DSpace to update the changes.
|
Refresh DSpace Home page | Now, switch to the browser and refresh the page.
|
Point to DSpace banner | The DSpace banner is used for branding of repositories.
|
[Terminal] Type:
|
Messages.properties is a file, which contains user interface text of DSpace.
|
Show Messages.properties file | Messages.properties file contains Key Value pairs.
|
Banner Heading Text
|
Scroll down and locate the key
jsp.layout.header-default.brand.heading
|
jsp.layout.header-default.brand.heading = IITB Repository | If you wish to display the text in a stylish way, we can use those html tags also.
|
IITB Digital Repository is the collection of digital assets
|
Now locate the key jsp.layout.header-default.brand.description
|
Save and close | Save and close the file. |
[Terminal] Type:
|
Now, rebuild DSpace to update the changes.
|
Refresh DSpace Home page | Now, switch to the browser and refresh the page.
|
Point to Top and Sidebar news on Home Page | Top news and Sidebar news are used to display updates and news about the Repository.
|
Log in to DSpace
Password: u1pass |
Click on the Sign on to button at the top right corner.
Log into DSpace with your administrator’s email address and password.
|
Select Administer | Click on the down arrow at the top right corner next to the admin’s mail id.
|
General Settings > Edit News | We will be redirected to the admin interface.
|
Select Top News | Select Top News in the News Editor section to edit Top News. |
Click on Edit button | Click on the Edit button. |
Point to News Editor | News Editor page opens for the Top News with default DSpace Top News.
|
Welcome to IITB digital repository! |
I am updating the Top News as shown. |
Click on Save button | Click on the Save button. |
Select Sidebar News and click on Edit button
Explore IITB digital repository and Enhance learning. |
Likewise, I will edit the sidebar news. |
Save Sidebar News | Click on the Save button. |
Click on Home Tab | In the top navigation bar, click on the menu Home.
|
Only narration | LIkewise, we can customise our DSpace home page based on our needs. |
Logout from DSpace interface. | |
[Terminal] type:
|
Switch to the terminal.
|
With this we have come to the end of this tutorial.
| |
Slide: Summary
|
In this tutorial we learnt to :* Change DSpace logos
|
Slide: Assignment | As an assignment* Change Navbar logo and DSpace logo
|
Slide : About Spoken Tutorial project | The video at the following link summarises the Spoken Tutorial project.
|
Slide : Spoken Tutorial workshops
|
The Spoken Tutorial Project team conducts workshops and gives certificates.
|
Slide: Answers for THIS Spoken Tutorial | Please post your timed queries in this Forum. |
Slide: Acknowledgement -I | The Spoken Tutorial project is funded by MHRD, Government of India. |
Slide: Acknowledgement -II
|
DSpace spoken tutorial series is funded by the National Virtual Library of India, Ministry of Culture, Government of India. |
Narration only
|
This script and video for this tutorial was contributed by Pankaj Patil from IIT Bombay.
|