Changeset 33491

Show
Ignore:
Timestamp:
19.09.2019 13:23:46 (4 weeks ago)
Author:
kjdon
Message:

need to add optional args for doc links into the CCS format links. Also, made favourites basket on by default

Files:
1 modified

Legend:

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

    r33320 r33491  
    1111  </displayItemList> 
    1212  <siteList/> 
     13  <format> 
     14    <paramDefault name="favouritebasket" value="on"/> 
     15  </format> 
    1316  <serviceRackList> 
    1417   <!--Provides the Authentication service --> 
     
    3538      <xsl:variable name="collname" select="@collection"/> 
    3639      <td><gsf:if-metadata-exists><gsf:metadata name="srclinkFile"/><gsf:if><a><xsl:attribute name='href'>sites/localsite/collect/<xsl:value-of select='@collection'/>/index/assoc/<gsf:metadata name="assocfilepath"/>/<gsf:metadata name="srclinkFile"/></xsl:attribute><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata></a></gsf:if></gsf:if-metadata-exists></td> 
    37       <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> 
     40      <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:if test="$opt-doc-link-args">?<xsl:value-of select="$opt-doc-link-args"/></xsl:if></xsl:attribute><gsf:icon/></a></td> 
    3841      <td><gsf:metadata name='Title'/></td> 
    3942      <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>