That worked perfect! Thank you! I already had the customized theme setup.
all I had to do was replace that one line in my theme's xsl file. However
the  @language='en_US' wasn't working for me. So instead of

<xsl:value-of
select="dim:field[@element='title'][@language='en_US']/node()"/>
|<xsl:value-of
select="dim:field[@element='title'][@language='th_TH']/node()"/>

I simply did this:

  <xsl:value-of
select="dim:field[@element='title'][1]/node()"/> |
<xsl:value-of select="dim:field[@element='title'][2]/node()"/>

And it works!

Thanks a ton!!

Cheers,

Shilpa



On Fri, Feb 11, 2011 at 10:56 AM, helix84 <[email protected]> wrote:

> This page gives the general reference on how to make a custom theme.
> First, read it in whole to get an idea of the process. Then refer to
> it for details on the particular steps I'll describe.
>
> https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial
>
> You should:
> 1) Copy the Reference theme directory, name it e.g. after your institution.
> 2) Install your custom theme in the [dspace]/config/xmlui.xconf file
> 3) Copy the "itemSummaryList-DIM" template from the
> "dri2xhtml/DIM-Handler.xsl" file into your theme's xsl file. This will
> override the reference
> template.
> 4) Change this line
>                            <xsl:value-of
> select="dim:field[@element='title'][1]/node()"/>
> to this:
>                            <xsl:value-of
> select="dim:field[@element='title'][@language='en_US']/node()"/> |
> <xsl:value-of
> select="dim:field[@element='title'][@language='th_TH']/node()"/>
> 5) restart tomcat
>
> Feel free to follow up with questions after you read the Manakin theme
> tutorial.
>
> Hope it helps.
>
> Regards,
> ~~helix84
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to