SUNScholar/XMLUI Theme/M1/Modify
Back to Mirage 1
Introduction
These wiki pages will assist you in customising the default Mirage theme.
This customisation is very basic and intended for those who have some web 2.0 design skills.
After you have completed your customisation, you will have to rebuild DSpace.
It is assumed that you installed DSpace according to: http://wiki.lib.sun.ac.za/index.php/SUNScholar/DSpace.
And it is assumed that a custom Mirage theme was created according to: http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M1/Creation.
- Introduction Text
- Document Structure
- Institutional Branding
- Banner Logo
- Palette (colours)
- Typography (fonts)
- Footer Design
- Advanced Customisation
Synchronise live and source theme
It is usually more convenient to modify the live theme and then update the source with changes.
Follow the instructions below to create a script to do this for you.
cd
mkdir scripts
cd scripts
nano do-theme-sync
Copy and paste the following into the editor.
#!/bin/sh # This script updates the source theme with changes in the live theme. rsync -av $HOME/webapps/xmlui/themes/%THEME%/ $HOME/source/dspace/modules/xmlui/src/main/webapp/themes/%THEME%/
Change %THEME% to the name of the custom theme you created and save the file.
Exit the editor.
Now make the script executable.
chmod 0755 $HOME/scripts/do-theme-sync
To synchronise the themes, using the live theme as reference, type the following;
$HOME/scripts/do-theme-sync