Hi Karen,

You need to point XMLUI at your new theme in the
    dspace/config/xmlui.xconf
file:

$ grep Auburn /opt/dspace15/config/xmlui.*
/opt/dspace15/config/xmlui.xconf:        <theme name="Auburn Theme"
regex=".*" path="Auburn/" />

You'll probably need to restart Tomcat after changing that.
The sitemap.xmap within your theme tells XMLUI which CSS
files to reference:

$ grep css webapps/xmlui/themes/Auburn/sitemap.xmap
<map:parameter name="stylesheet.screen#1" value="lib/style.css"/>
<map:parameter name="stylesheet.screen#2" value="lib/style-ie.css"/>
<map:parameter name="stylesheet.screen#3"
value="lib/auburn_css/ddcss_all.css"/>
<map:parameter name="stylesheet.print#1"
value="lib/auburn_css/ddcss_print.css"/>
<map:parameter name="stylesheet.screen#1" value="lib/style.css"/>
<map:parameter name="stylesheet.screen#2"
value="lib/auburn_css/ddcss_all.css"/>
<map:parameter name="stylesheet.print"
value="lib/auburn_css/ddcss_print.css"/>


Good Luck!
Reuben



>>> "Janssens Karen" <[EMAIL PROTECTED]> 9/26/2008 5:22 AM >>>
Hi

I'm writing a new theme for Manakin (DSpace 1.5 on windows), follwing 
the strategy described in "LearningToUseManakin-JA-SIG-2008.pdf". It is

not clear to me however, where I should edit the my_theme.xsl and 
css-files. When I make changes to the css in the 
[dspace]/webapps/xmlui/themes/my_theme directory, they do not take 
effect (I did stop and restart Tomcat).

- Should I do this in the my_theme-directory under the 
Tomcat/webapps/xmlui/my_theme - directory?
- or should I do it in the 
[dspace-source]/dspace/modules/xmlui/src/main/webapp/themes/my_theme 
directory and deploy the whole thing every time I make a change? I 
shouldn't think so, but...

I tried to find the answer also on the dspace-wiki (ManakinHowTo) but
it 
is not clear to me which directory is the so-called [manakin-source].

thanks!
Karen

-- 
Karen Janssens
Universiteit Antwerpen
Anet - Bibliotheekautomatisering
Bibliotheek Stadscampus
Prinsstraat 9
B-2000 Antwerpen
Belgium
Tel    +32 3 220.49.71
Email  [EMAIL PROTECTED] 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to