For the Mirage theme it's here:
[dspace]/webapps/xmlui/themes/Mirage/images/favicon.ico
For the Reference theme:
I tried to put in to /dspace/webapps/xmlui/static/ but it didn't work
from here (the file wasn't reachable at the /favicon.ico URL).
You have to add the a link tag directly to the HTML source. Do that by
overriding the "buildHead" template. in your custom theme - e.g. add
this to the template:
<link rel="shortcut icon">
<xsl:attribute name="href">
<xsl:value-of
select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/>
<xsl:text>/themes/</xsl:text>
<xsl:value-of
select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/>
<xsl:text>/images/favicon.ico</xsl:text>
</xsl:attribute>
</link>
And add your favicon.ico file to
[dspace]/webapps/xmlui/themes/Reference/images/
Don't forget to restart tomcat (just to be sure), clear your browser's
cache completely, restart your browser (tested with Firefox) and then
load the DSpace page.
Regards,
~~helix84
------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk
Collect, index and harness all the fast moving IT data generated by your
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights.
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech