On Mon, Jun 4, 2012 at 7:09 AM, Nemiz, Elvi S. <[email protected]> wrote:
> Is there a way to override the Contact.java page without having to rebuild
> dspace just like in adding static pages where you can use XSL overrides on
> top of StaticPage.java? I would like to edit or to add something to the
> Contact Us and Feedback page. We are using DSpace v. 1.8 and Mirage as our
> theme.
Hi Elvi,
if you want to add static content, just define this template:
<xsl:template match="dri:div[@id='aspect.artifactbrowser.Contact.div.contact']">
Your content before goes here.
<xsl:apply-templates/>
Your content after goes here.
</xsl:template>
If you want your content to be dynamic, you'll have to create an
aspect and that requires recompiling.
Regards,
~~helix84
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech