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

From Libopedia
Jump to navigation Jump to search
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==
+
Edit the following file:
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
 
  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.
+
Go to line 586 and modify the content between the div's "ds-footer-left" and "ds-footer-right"
----
+
 
See modified example below.
+
See modified example below for left footer.
 
<pre>
 
<pre>
<xsl:template name="buildFooter">
 
<div id="ds-footer-wrapper">
 
<div id="ds-footer">
 
 
<div id="ds-footer-left">
 
<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>
+
<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>
 
</pre>

Revision as of 12:52, 28 May 2015

Back to Mirage 1 Modification

Edit the following file:

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

Go to line 586 and modify the content between the div's "ds-footer-left" and "ds-footer-right"

See modified example below for left 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>