SlideShare a Scribd company logo
Customizing the look-and-feel ofCustomizing the look-and-feel of
DSpaceDSpace with Manakinwith Manakin
Bharat M. Chaudhari
1
CreditCredit
2
What is ManakinWhat is Manakin??
3
.
Manakin & Moa?Manakin & Moa?
Manakin is the final version of the DSpace XMLUI, based upon SAX
& the Cocoon framework; compared to the earlier Moa, it offers
improved efficiency and modularity. Moa is the earlier version of the
DSpace UI, based upon a static 3 stage DOM model.With Manakin
officially released, all development on Moa has ceased.
Manakins are rare South American song birds. They are
special because they use their wing feathers to produce
rhythmic buzzes and hums.
PART -1PART -1
What is ManakinWhat is Manakin??
 A new face to Dspace
 Modular
 Extendable
 Tiered
4
Manakin vs JSPUIManakin vs JSPUI
JSPUI (Java Server Pages)
 Difficult to extend
 Monolithic interface
XMLUI (Manakin Framework)
 Modular design
 Multiple interface
 Metadata in native formats
5
TiersTiers
1. Style Tier
Create simple themes
(X)HTML + CSS
2. Theme Tier
Create complex themes
XSL + (X)HTML + CSS
3. Aspect Tier
Add new features
Cocoon & Java
6
TiersTiers
7
XMLUI Architecture Overview
style tierstyle tier
1. Coding with style tier
2. And with (X)HTML and CSS
3. walk around with Firebug
8
style tierstyle tier
 Coding with style tier
Required Skills
(X)HTML & CSS
9
style tierstyle tier
Coding with style tierCoding with style tier
What is XHTML?
 XHTML™ is the Extensible HyperText Markup
Language
1. XHTML is a stricter and cleaner version of HTML
2. XHTML documents are XML conforming. As such, they are
readily viewed, edited, and validated with standard XML
tools.
10
In HTML, some elements can be improperly nested
within each other, like this:
In XHTML, all elements must be properly nested
within each other, like this:
<b><i>This text is bold and italic</b></i>
<b><i>This text is bold and italic</i></b>
11
style tierstyle tier
Coding with style tierCoding with style tier
A common mistake with nested lists, is to forget that the inside
list must be within <li> and </li> tags.
wrong:
correct:
<ul>
  <li>Book</li>
  <li>Journal
    <ul>
      <li>Black book</li>
      <li>Green book</li>
    </ul>
  <li>Report</li>
</ul>
<ul>
  <li>Book</li>
  <li>Journal
    <ul>
      <li>Black book</li>
      <li>Green book</li>
    </ul>
  </li>
  <li>Report</li>
</ul>
12
style tierstyle tier
Coding with style tierCoding with style tier
XHTML Elements Must Always Be Closed
wrong:
correct:
<p>This is the workshop
<p>This is another workshop
<p>This is the workshop</p>
<p>This is another workshop</p>
13
style tierstyle tier
Coding with style tierCoding with style tier
What is CSS?
 A CSS (cascading style sheet) file allows you to separate
your web sites (X)HTML content from it’s style. As always
you use your (X)HTML file to arrange the content, but all of
the presentation (fonts, colors, background, borders, text
formatting, link effects & so on…) are accomplished within a
CSS.
 Most of the visual changes are done in CSS
14
style tierstyle tier
Coding with style tierCoding with style tier
1. Internal Stylesheet
First we will explore the internal method. This way you are
simply placing the CSS code within the <head></head> tags
of each (X)HTML file you want to style with the CSS. The
format for this is shown in the example below.
<head>
<title><title>
<style type=”text/css”>
CSS Content Goes Here
</style>
</head>
<body>
15
style tierstyle tier
Coding with style tierCoding with style tier
2. External Stylesheet
Next we will explore the external method. An external CSS file can be
created with any text or HTML editor such as “Notepad” or
“Dreamweaver”. A CSS file contains no (X)HTML, only CSS. You
simply save it with the .css file extension. You can link to the file
externally by placing one of the following links in the head section
of every (X)HTML file you want to style with the CSS file.
<link rel=”stylesheet” type=”text/css” href=“Path To stylesheet.css” />
16
style tierstyle tier
Coding with style tierCoding with style tier
DSpace uses external stylesheet method
in {sitemap.xmap} file the {style.css} is externally linked with
value {“lib/style.css”}
17
style tierstyle tier
Coding with style tierCoding with style tier
CSS Rules
The syntax or rules for CSS is different than that of (X)HTML markup.
Though it is not too confusing, once you take a look at it. It consists of only 3 parts.
The selector is the (X)HTML element that you want to style. The property is
the actual property title, and the value is the style you apply to that
property
(Note: Manakin (Reference) theme uses 144 properties.)
selector {property: value}
18
style tierstyle tier
Coding with style tierCoding with style tier
CSS Rules
Each selector can have multiple properties, and each property within that
selector can have independent values. The property and value are separated
with a colon and contained within curly brackets. Multiple properties are
separated by a semi colon. Multiple values within a property are sperated by
commas, and if an individual value contains more than one word you
surround it with quotation marks. As shown below.
body {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: .8em;
text-align: center;
19
style tierstyle tier
Coding with style tierCoding with style tier
1. CSS Classes
The '.' denotes a class
.larger is the class 'larger‘
 A rule for the class 'larger' would look like this:
 We would reference this class in HTML like this:
<p class="larger">some text</p>
.larger {
font-size:24pt;
}
20
style tierstyle tier
Coding with style tierCoding with style tier
2. CSS IDs
IDs are similar to Classes
The ‘#' denotes an id
# main is the id 'main‘
 A rule for the id 'main' would look like this:
 We would reference this class in HTML like this
<div id="main">some text</div>
# main {
font-size:16pt;
background-color: gray;
}
21
style tierstyle tier
Coding with style tierCoding with style tier
There is much more to CSS on
1. http://reference.sitepoint.com/css
2. www.csszengarden.com/
3. www.w3schools.com/css/
22
style tierstyle tier
Coding with style tierCoding with style tier
PART-2 Hands-onPART-2 Hands-on
Configuring Manakin ThemesConfiguring Manakin Themes
Customizing the ‘Reference’ theme
 Start Tomcat Service
Download Firefox 3.5. X from mozilla.com
and Start the Firefox web browser
 Download the Firebug from getfirebug.com
and Install the firebug plug-in (Click “inspect” then point to elements)
 Turn to http://localhost/xmlui
23
Configuring Manakin ThemesConfiguring Manakin Themes
Customizing the ‘Reference’ theme
1. Replace default Manakin ‘logo’
1. Place your ‘logo’ image into (themesReferenceimages) directory
2. Start the editor and open the CSS file
{Reference/lib/style.css}
3. Return to Firefox, enable Firebug’s “Inspect” feature, and point to
the Manakin logo
4. Return to editor and sort the “Outline” pane by “Selector” and
locate the div#ds-header a span#ds-header-logo rule
(copy the image logo in your theme folder) and Restart tomcat
5. Use editor to change height property of
div#ds-header a span#ds-header-logo to height: 100px from 80px
6. Use the editor to change height property of ul#ds-trail rule to
margin- top: 100px from 80px
24
Configuring Manakin ThemesConfiguring Manakin Themes
Customizing the ‘Reference’ theme
2. Redesigning the footer elements
1. Hide footer logo and text by adding new (visibility: hidden) property to
span#ds-footer-logo and div#ds-footer p rules
2. To make the footer match our color scheme, also add a new
background-color: #9CADBF property to div#ds-footer rule
3. Moving menu item from right to left
1. Use Firebug to determine which rules control the menu and body
2. Locate these rules using the editor
3. Reverse menu and body positions by switching div#ds-body property to
float:right and div#ds-options property to float:left
25
Configuring Manakin ThemesConfiguring Manakin Themes
Customizing the ‘Reference’ theme
4. Changing the background ‘Color’
1. Reference theme uses RGB color codes in some places, and the more
standard Hexadecimal codes in others
2. Use Firebug to determine color values used for original background
(tan: #FFFFF0) and border (beige: #F0F0D2) colors on right-hand ds-
options menu, which will be the same colors used elsewhere in the
theme
3. Use the editor to locate the RGB values listed div.ds-option-set rule
(not div#ds-option-set)
26
Configuring Manakin ThemesConfiguring Manakin Themes
Customizing the ‘Reference’ theme
6. Changing link color
1. Use Firebug to determine which rule controls breadcrumb links
2. Locate the rule using the editor
3. Add new property color: #FFFFFF to div#ds-header a rule
4. We can also add a hover rule add an underline when someone points to the ds-
header link. We do this by creating a new rule called div#ds-header a: hover
which has the same color: #FFFFFF property, but also ads the decoration: underline
property
27
Configuring Manakin ThemesConfiguring Manakin Themes
Customizing the ‘Reference’ theme
Changing in bullet color
1. Use Firebug to determine which rule controls menu bullets
2. Locate the rule using the editor
3. Change bullet color property in div#ds-options li to color: #
from rgb(100, 100, 50)
28
Configuring Manakin ThemesConfiguring Manakin Themes
Appling ‘Kubrick’ theme
As you know DSpace installation running Manakin may have several Themes associated with it.
Theme determines most of the pages look and feel. Different themes can be applied to different sets
of DSpace pages allowing for both variety of styles between sets of pages and consistency
within those sets. The xmlui.xconf configuration file determines which Themes are applied to
which DSpace pages Themes may be configured to apply to all pages of specific type, like
browse-by-title, to all pages of a one particular community or collection or sets of
communities and collections, and to any mix of the two. They can also be configured to apply
to a singe arbitrary page or handle.
29
Configuring Manakin ThemesConfiguring Manakin Themes
Appling ‘Kubrick’ theme
1. Open the {xmlui.xconf} from {dspaceconfig}
2. Use any editor to open /dspace/conf/xmlui.xconf (as XML document) and add the
following line above the
3. Modify the theme declaration in file {xmlui.xconf}
4. Restart Tomcat
5. View the ‘kubrick’ theme in your browser
30
<theme name="Default Kubrick Theme" regex=".*" path="Kubrick/" />
31
Advanced Customization - (xmlui Interface)Advanced Customization - (xmlui Interface)
Texas A & M RepositoryTexas A & M Repository
32
Further ReadingFurther Reading
1. Luhrs, Eric: Digital Initiatives Librarian, Lafayette College Technical and
Conceptual Overview of Dspace and Manakin
2. Diggory, Mark: Learning to use Manakin For DSpace 1.5, JA-SIG, Spring
2008 Conference, St. Paul, Minnesota, April 28-30, 2008
3. Phillips, Scott : Manakin Workshop DSpace User Group, February 2006
33
ThankThank YouYou
Bharat M.
Chaudhari
Mob: 9428415401
34

More Related Content

PDF
Making DSpace XMLUI Your Own
PDF
Tailwind CSS - KanpurJS
PDF
Introduction to Apache Hive
PPTX
Mongo DB 성능최적화 전략
PPTX
Bootstrap 5 whats new
PPTX
Tailwind CSS.11.pptx
PPTX
MongoDB
ZIP
NoSQL databases
Making DSpace XMLUI Your Own
Tailwind CSS - KanpurJS
Introduction to Apache Hive
Mongo DB 성능최적화 전략
Bootstrap 5 whats new
Tailwind CSS.11.pptx
MongoDB
NoSQL databases

What's hot (20)

PPTX
Dspace configuration on XMLUI DSpace
PPT
Introduction to mongodb
PDF
Getting started with DSpace 7 REST API
PPTX
Apache HBase™
PPTX
introduction to NOSQL Database
PPTX
Azure Data Fundamentals DP 900 Full Course
PDF
MySQL: Indexing for Better Performance
PDF
Elasticsearch Tutorial | Getting Started with Elasticsearch | ELK Stack Train...
PDF
PostgreSQL Tutorial for Beginners | Edureka
PPTX
Sling models by Justin Edelson
PPTX
Introduction to MongoDB and CRUD operations
PDF
MongoDB Fundamentals
PDF
[29DCF] PostgreSQL에서 DB Lock을 줄이는 5가지 팁
PDF
Introduction to XMLUI and Mirage Theming for DSpace 3
PPTX
Installation guide for mysql in windows
PDF
Hadoop Hbase - Introduction
PPTX
Introduction To HBase
PPTX
Presentation on "An Introduction to ReactJS"
PPTX
NoSQL Introduction
PPTX
Advance Java Topics (J2EE)
Dspace configuration on XMLUI DSpace
Introduction to mongodb
Getting started with DSpace 7 REST API
Apache HBase™
introduction to NOSQL Database
Azure Data Fundamentals DP 900 Full Course
MySQL: Indexing for Better Performance
Elasticsearch Tutorial | Getting Started with Elasticsearch | ELK Stack Train...
PostgreSQL Tutorial for Beginners | Edureka
Sling models by Justin Edelson
Introduction to MongoDB and CRUD operations
MongoDB Fundamentals
[29DCF] PostgreSQL에서 DB Lock을 줄이는 5가지 팁
Introduction to XMLUI and Mirage Theming for DSpace 3
Installation guide for mysql in windows
Hadoop Hbase - Introduction
Introduction To HBase
Presentation on "An Introduction to ReactJS"
NoSQL Introduction
Advance Java Topics (J2EE)
Ad

Similar to Customizing the look and-feel of DSpace (20)

PPT
Web-03-CSS.ppt
PDF
Vskills certified css designer Notes
PDF
PDF
Introduction to XML, XHTML and CSS
PDF
Intro to HTML and CSS - Class 2 Slides
PDF
Using Stylesheets To Design A Web Site In Dreamweaver Mx 2004
PDF
[Web开发Css系列].Apress.Pro.Css.Techniques.Nov.2006
PDF
JavaScript 设计模式
PPT
Make Css easy(part:2) : easy tips for css(part:2)
PPTX
David Weliver
KEY
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
PPTX
Understanding CSS for web development by software outsourcing company india
DOC
Intermediate Web Design.doc
DOC
Intermediate Web Design.doc
PPTX
CSS Walktrough Internship Course
Web-03-CSS.ppt
Vskills certified css designer Notes
Introduction to XML, XHTML and CSS
Intro to HTML and CSS - Class 2 Slides
Using Stylesheets To Design A Web Site In Dreamweaver Mx 2004
[Web开发Css系列].Apress.Pro.Css.Techniques.Nov.2006
JavaScript 设计模式
Make Css easy(part:2) : easy tips for css(part:2)
David Weliver
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
Understanding CSS for web development by software outsourcing company india
Intermediate Web Design.doc
Intermediate Web Design.doc
CSS Walktrough Internship Course
Ad

Recently uploaded (20)

PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
Internet___Basics___Styled_ presentation
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PDF
The Internet -By the Numbers, Sri Lanka Edition
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PDF
Testing WebRTC applications at scale.pdf
PPTX
artificial intelligence overview of it and more
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPTX
Introuction about WHO-FIC in ICD-10.pptx
RPKI Status Update, presented by Makito Lay at IDNOG 10
522797556-Unit-2-Temperature-measurement-1-1.pptx
Unit-1 introduction to cyber security discuss about how to secure a system
WebRTC in SignalWire - troubleshooting media negotiation
international classification of diseases ICD-10 review PPT.pptx
Internet___Basics___Styled_ presentation
PptxGenJS_Demo_Chart_20250317130215833.pptx
An introduction to the IFRS (ISSB) Stndards.pdf
Job_Card_System_Styled_lorem_ipsum_.pptx
The Internet -By the Numbers, Sri Lanka Edition
Design_with_Watersergyerge45hrbgre4top (1).ppt
Module 1 - Cyber Law and Ethics 101.pptx
Introuction about ICD -10 and ICD-11 PPT.pptx
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
Cloud-Scale Log Monitoring _ Datadog.pdf
Testing WebRTC applications at scale.pdf
artificial intelligence overview of it and more
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Tenda Login Guide: Access Your Router in 5 Easy Steps
Introuction about WHO-FIC in ICD-10.pptx

Customizing the look and-feel of DSpace

  • 1. Customizing the look-and-feel ofCustomizing the look-and-feel of DSpaceDSpace with Manakinwith Manakin Bharat M. Chaudhari 1
  • 3. What is ManakinWhat is Manakin?? 3 . Manakin & Moa?Manakin & Moa? Manakin is the final version of the DSpace XMLUI, based upon SAX & the Cocoon framework; compared to the earlier Moa, it offers improved efficiency and modularity. Moa is the earlier version of the DSpace UI, based upon a static 3 stage DOM model.With Manakin officially released, all development on Moa has ceased. Manakins are rare South American song birds. They are special because they use their wing feathers to produce rhythmic buzzes and hums.
  • 4. PART -1PART -1 What is ManakinWhat is Manakin??  A new face to Dspace  Modular  Extendable  Tiered 4
  • 5. Manakin vs JSPUIManakin vs JSPUI JSPUI (Java Server Pages)  Difficult to extend  Monolithic interface XMLUI (Manakin Framework)  Modular design  Multiple interface  Metadata in native formats 5
  • 6. TiersTiers 1. Style Tier Create simple themes (X)HTML + CSS 2. Theme Tier Create complex themes XSL + (X)HTML + CSS 3. Aspect Tier Add new features Cocoon & Java 6
  • 8. style tierstyle tier 1. Coding with style tier 2. And with (X)HTML and CSS 3. walk around with Firebug 8
  • 9. style tierstyle tier  Coding with style tier Required Skills (X)HTML & CSS 9
  • 10. style tierstyle tier Coding with style tierCoding with style tier What is XHTML?  XHTML™ is the Extensible HyperText Markup Language 1. XHTML is a stricter and cleaner version of HTML 2. XHTML documents are XML conforming. As such, they are readily viewed, edited, and validated with standard XML tools. 10
  • 11. In HTML, some elements can be improperly nested within each other, like this: In XHTML, all elements must be properly nested within each other, like this: <b><i>This text is bold and italic</b></i> <b><i>This text is bold and italic</i></b> 11 style tierstyle tier Coding with style tierCoding with style tier
  • 12. A common mistake with nested lists, is to forget that the inside list must be within <li> and </li> tags. wrong: correct: <ul>   <li>Book</li>   <li>Journal     <ul>       <li>Black book</li>       <li>Green book</li>     </ul>   <li>Report</li> </ul> <ul>   <li>Book</li>   <li>Journal     <ul>       <li>Black book</li>       <li>Green book</li>     </ul>   </li>   <li>Report</li> </ul> 12 style tierstyle tier Coding with style tierCoding with style tier
  • 13. XHTML Elements Must Always Be Closed wrong: correct: <p>This is the workshop <p>This is another workshop <p>This is the workshop</p> <p>This is another workshop</p> 13 style tierstyle tier Coding with style tierCoding with style tier
  • 14. What is CSS?  A CSS (cascading style sheet) file allows you to separate your web sites (X)HTML content from it’s style. As always you use your (X)HTML file to arrange the content, but all of the presentation (fonts, colors, background, borders, text formatting, link effects & so on…) are accomplished within a CSS.  Most of the visual changes are done in CSS 14 style tierstyle tier Coding with style tierCoding with style tier
  • 15. 1. Internal Stylesheet First we will explore the internal method. This way you are simply placing the CSS code within the <head></head> tags of each (X)HTML file you want to style with the CSS. The format for this is shown in the example below. <head> <title><title> <style type=”text/css”> CSS Content Goes Here </style> </head> <body> 15 style tierstyle tier Coding with style tierCoding with style tier
  • 16. 2. External Stylesheet Next we will explore the external method. An external CSS file can be created with any text or HTML editor such as “Notepad” or “Dreamweaver”. A CSS file contains no (X)HTML, only CSS. You simply save it with the .css file extension. You can link to the file externally by placing one of the following links in the head section of every (X)HTML file you want to style with the CSS file. <link rel=”stylesheet” type=”text/css” href=“Path To stylesheet.css” /> 16 style tierstyle tier Coding with style tierCoding with style tier
  • 17. DSpace uses external stylesheet method in {sitemap.xmap} file the {style.css} is externally linked with value {“lib/style.css”} 17 style tierstyle tier Coding with style tierCoding with style tier
  • 18. CSS Rules The syntax or rules for CSS is different than that of (X)HTML markup. Though it is not too confusing, once you take a look at it. It consists of only 3 parts. The selector is the (X)HTML element that you want to style. The property is the actual property title, and the value is the style you apply to that property (Note: Manakin (Reference) theme uses 144 properties.) selector {property: value} 18 style tierstyle tier Coding with style tierCoding with style tier
  • 19. CSS Rules Each selector can have multiple properties, and each property within that selector can have independent values. The property and value are separated with a colon and contained within curly brackets. Multiple properties are separated by a semi colon. Multiple values within a property are sperated by commas, and if an individual value contains more than one word you surround it with quotation marks. As shown below. body { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: .8em; text-align: center; 19 style tierstyle tier Coding with style tierCoding with style tier
  • 20. 1. CSS Classes The '.' denotes a class .larger is the class 'larger‘  A rule for the class 'larger' would look like this:  We would reference this class in HTML like this: <p class="larger">some text</p> .larger { font-size:24pt; } 20 style tierstyle tier Coding with style tierCoding with style tier
  • 21. 2. CSS IDs IDs are similar to Classes The ‘#' denotes an id # main is the id 'main‘  A rule for the id 'main' would look like this:  We would reference this class in HTML like this <div id="main">some text</div> # main { font-size:16pt; background-color: gray; } 21 style tierstyle tier Coding with style tierCoding with style tier
  • 22. There is much more to CSS on 1. http://reference.sitepoint.com/css 2. www.csszengarden.com/ 3. www.w3schools.com/css/ 22 style tierstyle tier Coding with style tierCoding with style tier
  • 23. PART-2 Hands-onPART-2 Hands-on Configuring Manakin ThemesConfiguring Manakin Themes Customizing the ‘Reference’ theme  Start Tomcat Service Download Firefox 3.5. X from mozilla.com and Start the Firefox web browser  Download the Firebug from getfirebug.com and Install the firebug plug-in (Click “inspect” then point to elements)  Turn to http://localhost/xmlui 23
  • 24. Configuring Manakin ThemesConfiguring Manakin Themes Customizing the ‘Reference’ theme 1. Replace default Manakin ‘logo’ 1. Place your ‘logo’ image into (themesReferenceimages) directory 2. Start the editor and open the CSS file {Reference/lib/style.css} 3. Return to Firefox, enable Firebug’s “Inspect” feature, and point to the Manakin logo 4. Return to editor and sort the “Outline” pane by “Selector” and locate the div#ds-header a span#ds-header-logo rule (copy the image logo in your theme folder) and Restart tomcat 5. Use editor to change height property of div#ds-header a span#ds-header-logo to height: 100px from 80px 6. Use the editor to change height property of ul#ds-trail rule to margin- top: 100px from 80px 24
  • 25. Configuring Manakin ThemesConfiguring Manakin Themes Customizing the ‘Reference’ theme 2. Redesigning the footer elements 1. Hide footer logo and text by adding new (visibility: hidden) property to span#ds-footer-logo and div#ds-footer p rules 2. To make the footer match our color scheme, also add a new background-color: #9CADBF property to div#ds-footer rule 3. Moving menu item from right to left 1. Use Firebug to determine which rules control the menu and body 2. Locate these rules using the editor 3. Reverse menu and body positions by switching div#ds-body property to float:right and div#ds-options property to float:left 25
  • 26. Configuring Manakin ThemesConfiguring Manakin Themes Customizing the ‘Reference’ theme 4. Changing the background ‘Color’ 1. Reference theme uses RGB color codes in some places, and the more standard Hexadecimal codes in others 2. Use Firebug to determine color values used for original background (tan: #FFFFF0) and border (beige: #F0F0D2) colors on right-hand ds- options menu, which will be the same colors used elsewhere in the theme 3. Use the editor to locate the RGB values listed div.ds-option-set rule (not div#ds-option-set) 26
  • 27. Configuring Manakin ThemesConfiguring Manakin Themes Customizing the ‘Reference’ theme 6. Changing link color 1. Use Firebug to determine which rule controls breadcrumb links 2. Locate the rule using the editor 3. Add new property color: #FFFFFF to div#ds-header a rule 4. We can also add a hover rule add an underline when someone points to the ds- header link. We do this by creating a new rule called div#ds-header a: hover which has the same color: #FFFFFF property, but also ads the decoration: underline property 27
  • 28. Configuring Manakin ThemesConfiguring Manakin Themes Customizing the ‘Reference’ theme Changing in bullet color 1. Use Firebug to determine which rule controls menu bullets 2. Locate the rule using the editor 3. Change bullet color property in div#ds-options li to color: # from rgb(100, 100, 50) 28
  • 29. Configuring Manakin ThemesConfiguring Manakin Themes Appling ‘Kubrick’ theme As you know DSpace installation running Manakin may have several Themes associated with it. Theme determines most of the pages look and feel. Different themes can be applied to different sets of DSpace pages allowing for both variety of styles between sets of pages and consistency within those sets. The xmlui.xconf configuration file determines which Themes are applied to which DSpace pages Themes may be configured to apply to all pages of specific type, like browse-by-title, to all pages of a one particular community or collection or sets of communities and collections, and to any mix of the two. They can also be configured to apply to a singe arbitrary page or handle. 29
  • 30. Configuring Manakin ThemesConfiguring Manakin Themes Appling ‘Kubrick’ theme 1. Open the {xmlui.xconf} from {dspaceconfig} 2. Use any editor to open /dspace/conf/xmlui.xconf (as XML document) and add the following line above the 3. Modify the theme declaration in file {xmlui.xconf} 4. Restart Tomcat 5. View the ‘kubrick’ theme in your browser 30 <theme name="Default Kubrick Theme" regex=".*" path="Kubrick/" />
  • 31. 31
  • 32. Advanced Customization - (xmlui Interface)Advanced Customization - (xmlui Interface) Texas A & M RepositoryTexas A & M Repository 32
  • 33. Further ReadingFurther Reading 1. Luhrs, Eric: Digital Initiatives Librarian, Lafayette College Technical and Conceptual Overview of Dspace and Manakin 2. Diggory, Mark: Learning to use Manakin For DSpace 1.5, JA-SIG, Spring 2008 Conference, St. Paul, Minnesota, April 28-30, 2008 3. Phillips, Scott : Manakin Workshop DSpace User Group, February 2006 33