Hi
In general, to customize the main page you can override the template
<xsl:template match="dri:body"> from dri2xhtml-alt/core/page-structure.xsl
<template match="dri:body">
<div id="ds-body">
<choose>
<when
test="(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'
and @qualifier='URI'])=''">
<!-- ###########compose homepage here ##########-->
</when>
<otherwise>
<!-- ############ Original content #############-->
<if
test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='alert'][@qualifier='message']">
<div id="ds-system-wide-alert">
<p>
<copy-of
select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='alert'][@qualifier='message']/node()"/>
</p>
</div>
</if>
<!-- Check for the custom pages -->
<choose>
<when test="starts-with($request-uri, 'page/about')">
<div>
<h1>About This Repository</h1>
<p>To add your own content to this page,
edit webapps/xmlui/themes/dri2xhtml-alt/core/page-structure.xsl and
add your own content to the title, trail,
and body. If you wish to add additional pages, you
will need to create an additional xsl:when
block and match the request-uri to whatever page
you are adding. Currently, static pages
created through altering XSL are only available
under the URI prefix of page/.</p>
</div>
</when>
<!-- Otherwise use default handling of body -->
<otherwise>
<apply-templates/>
</otherwise>
</choose>
</otherwise>
</choose>
</div>
</template>
But can be easy to add content to config/news-xmlui.xml
Regards
Hi
First of all we are using DSpace 4.2 with xmlui and Mirage 1.
We want to add some boxes to the main page of our repository, but
seeing the closed XML structure that DSpace have in this xmlui+mirage
version we are a little bit confused.
For instance we would like to put a news box upside recent submissions
box that links to an external blog or add the login boxes of email and
password in the trail as we have seen in other repositories (like
http://dspace.unav.es/dspace/)
Where should we edit to customize the front page in general? Anything
you can tell me will help.
Thank you, best regards.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
---
Este mensaje no contiene virus ni malware porque la protección de avast!
Antivirus está activa.
http://www.avast.com
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette