Hi
I have attached the modify-trail.xsl.
I am still referring to
http://pubs.or08.ecs.soton.ac.uk/135/2/OR2008-DSpace-1_5.pdf
(Slide 20 - 23)
And the final step for adding <aspect name="Trail"
path="resource://aspects/Trail/" /> in xmlui.conf
The order of aspect is important and you need to place Trail aspect at Last
place of aspect section.
So, Trial can display in every page.
Cheers,
Yin Yin
From: Nemiz, Elvi S. [mailto:esne...@seafdec.org.ph]
Sent: Thursday, 1 December 2011 6:06 p.m.
To: dspace-tech@lists.sourceforge.net
Cc: Yin Yin Latt
Subject: [Dspace-tech] DSpace Home gone after modifying breadcrumb trail in
search results
From: Nemiz, Elvi S. <esne...@seafdec.org.ph<mailto:esne...@seafdec.org.ph>>
Date: Thu, Dec 1, 2011 at 10:59 AM
Subject: Re: [Dspace-tech] DSpace Home gone after modifying breadcrumb trail in
search results
To: Brian Freels-Stendel <bfre...@unm.edu<mailto:bfre...@unm.edu>>
Hello Brian,
Below is the contents of my modify-trail.xsl. Please advise what template
should I add aside from <xsl:template match="dri:pageMeta">?.
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:dri="http://di.tamu.edu/DRI/1.0/">
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<dri:trail target="http://www.seafdec.org.ph/">
AQD Home
</dri:trail>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="dri:pageMeta">
<xsl:copy>
<xsl:copy-of select="@*"/>
<dri:trail target="http://www.seafdec.org.ph/">
AQD Home
</dri:trail>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Thanks in advance.
Elvi
On Tue, Nov 29, 2011 at 11:36 PM, Brian Freels-Stendel
<bfre...@unm.edu<mailto:bfre...@unm.edu>> wrote:
Hi Elvi,
I had this problem when I had to implement a modified trail. I believe I had
failed to copy one of the <xsl:apply-templates/> in the modify-trail.xsl file.
It's easy to drop a line.
B--
>>> On 11/29/2011 at 12:31 AM, in message
<caarcektys_sdp6ohfjm9ecsmcu_anfm7gg6xyioagvoeg1t...@mail.gmail.com<mailto:caarcektys_sdp6ohfjm9ecsmcu_anfm7gg6xyioagvoeg1t%2...@mail.gmail.com>>,
"Nemiz,
Elvi S." <esne...@seafdec.org.ph<mailto:esne...@seafdec.org.ph>> wrote:
> Dear all,
>
> I successfully modified the breadcrumb trail to link to our institution's
> homepage by following the instructions here:
> http://pubs.or08.ecs.soton.ac.uk/135/2/OR2008-DSpace-1_5.pdf#page=18 but I
> noticed that the DSpace Home link is not showing in search results, only
> the added link. How can I make the breadcrumb trail in search results show
> Home --> DSpace Home and not just Home? Anybody who have the same issue? We
> are using xmlui.
>
> Thanks in advance and regards,
> Elvi S. Nemiz
> Information Assistant
> Library and Data Bank Services Section
> Training and Information Division
> SEAFDEC Aquaculture Department
> Tigbauan, Iloilo
> Philippines
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
xmlns:dri="http://di.tamu.edu/DRI/1.0/"
xmlns:mets="http://www.loc.gov/METS/"
xmlns:mods="http://www.loc.gov/mods/v3"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dim="http://www.dspace.org/xmlns/dspace/dim"
xmlns:xlink="http://www.w3.org/TR/xlink/"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output indent="yes"/>
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="dri:pageMeta">
<xsl:copy>
<dri:trail target="http://www.youruni.my.edu/"> University Home
</dri:trail>
<dri:trail target="http://www.yourlibrary.my.edu/"> Library
</dri:trail>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech