Ignore:
Timestamp:
2012-10-30T14:38:17+13:00 (11 years ago)
Author:
kjdon
Message:

changed cross coll format statement to show collection display name instead of coll id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/sites/localsite/siteConfig.xml

    r26199 r26407  
    1616        <serviceRack name="DocumentBasket"/>
    1717        <serviceRack name="BerryBasket"/>
    18         <serviceRack name="GS2Construct"/>
     18<!--        <serviceRack name="GS2Construct"/>-->
    1919        <serviceRack name="CrossCollectionSearch">
    2020            <format>
    2121                <!-- this format is used for the search results -->
    2222                <gsf:template match="documentNode">
     23      <xsl:variable name="collname" select="@collection"/>
    2324                    <td><a><xsl:attribute name='href'><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select='@collection'/>/document/<xsl:value-of select='@nodeID'/></xsl:attribute><gsf:icon/></a></td>
    2425                    <td><gsf:metadata name='Title'/></td>
    25                     <td>[<a href='{$library_name}/collection/{@collection}/page/about'><xsl:value-of select='@collection'/></a>]</td>
     26                    <td><a href='{$library_name}/collection/{$collname}/page/about'><xsl:value-of select="/page/pageResponse/service/paramList/param[@name='collection']/option[@name=$collname]/displayItem[@name='name']"/> </a></td>
    2627                </gsf:template>
    2728            </format>
Note: See TracChangeset for help on using the changeset viewer.