Difference between revisions of "SUNScholar/XMLUI Theme/M1/Footer Design"

From Libopedia
Jump to navigation Jump to search
(Created page with "<center> '''Back to Mirage 1 Modification''' </center>")
 
m
Line 2: Line 2:
 
  '''[[SUNScholar/XMLUI_Theme/M1/Modify|Back to Mirage 1 Modification]]'''
 
  '''[[SUNScholar/XMLUI_Theme/M1/Modify|Back to Mirage 1 Modification]]'''
 
</center>
 
</center>
 +
==Customise the page footer==
 +
Type the following.
 +
nano $HOME/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/modules/xmlui/src/main/webapp/themes/SUNScholar/lib/xsl/core/page-structure.xsl
 +
Search for "footer" around line 557 approx by typing '''CTL+W''' and modify accordingly.
 +
----
 +
See modified example below.
 +
<pre>
 +
<xsl:template name="buildFooter">
 +
<div id="ds-footer-wrapper">
 +
<div id="ds-footer">
 +
<div id="ds-footer-left">
 +
<a href="http://www.dspace.org">DSpace 1.8.2</a> | <a href="http://ubuntu.sun.ac.za">Ubuntu 10.04</a> | Copyright&#160;&#169;&#160;<a href="http://www.sun.ac.za" target="_blank">Stellenbosch University</a></div>
 +
</pre>
 +
----
 +
{{NANO}}

Revision as of 12:48, 28 May 2015

Back to Mirage 1 Modification

Customise the page footer

Type the following.

nano $HOME/source/dspace/modules/xmlui/src/main/webapp/themes/SUNScholar/lib/xsl/core/page-structure.xsl

Search for "footer" around line 557 approx by typing CTL+W and modify accordingly.


See modified example below.

<xsl:template name="buildFooter">
<div id="ds-footer-wrapper">
<div id="ds-footer">
<div id="ds-footer-left">
<a href="http://www.dspace.org">DSpace 1.8.2</a> | <a href="http://ubuntu.sun.ac.za">Ubuntu 10.04</a> | Copyright © <a href="http://www.sun.ac.za" target="_blank">Stellenbosch University</a></div>


NANO Editor Help
CTL+O = Save the file and then press Enter
CTL+X = Exit "nano"
CTL+K = Delete line
CTL+U = Undelete line
CTL+W = Search for %%string%%
CTL+\ = Search for %%string%% and replace with $$string$$
CTL+C = Show line numbers

More info = http://en.wikipedia.org/wiki/Nano_(text_editor)