Create a new theme (Manakin)
From DSpace Wiki
(Redirected from Create a new theme)
[edit] Files:
- [manakin-source] /themes/[theme-dir]/sitemap.xmap (The theme's configuration)
- [manakin-source] /themes/[theme-dir]/lib/style.css (CSS stylesheet)
- [manakin-source] /themes/[theme-dir]/lib/style-ie6.css (CSS stylesheet for IE)
[edit] Instructions:
- First determine a directory name for your new theme inside the [manakin-source]
/themes/directory; this name will be referenced as [theme-dir] in these instructions. - Instead of starting your new theme completely from scratch, make a new copy of the standard theme template in a new directory, [theme-dir].</p>
-
cd[manakin-source]/themes -
cp -R template[theme-dir]
-
- Next customize the theme's sitemap by specifying the theme's directory and name. Open, [manakin-source]/themes/[theme-dir]/sitemap.xmap, and edit the global variables shown below:
-
<map:component-configurations> -
<global-variables> -
<theme-path>[theme-dir]</theme-path> <theme-name>[the name of your theme]</theme-name>-
</global-variables> -
</map:component-configurations>
-
- Next customize the theme's CSS stylesheets, by default there are two style sheets used – a base version for all browsers and then a supplemental version just for Internet explorer.
- [manakin-source]/themes/[theme-dir]/lib/style.css
- [manakin-source]/themes/[theme-dir]/lib/style-ie6.css
- Perform the steps in Install a theme
- Perform the steps in Rebuild Manakin
