Changeset 38843 for documented-examples


Ignore:
Timestamp:
2024-03-12T14:21:43+13:00 (7 weeks ago)
Author:
kjdon
Message:

removed the global format template I had added as it was only used in one place. Its only in search results where you are linking to sections - classifiers all show documents

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/authen-e/etc/collectionConfig.xml

    r38842 r38843  
    2525  <displayItemList>
    2626    <!-- some text strings for the collection. These are defined in a dictionary file called
    27      collectionConfig.properties -->
     27     collectionConfig.properties, in the resources folder of the collection -->
    2828    <displayItem assigned="true" dictionary="collectionConfig" key="name" name="name"/>
    2929    <displayItem assigned="true" lang="en" name="name">Authentication demo</displayItem>
     
    4040    <displayItem assigned="true" dictionary="collectionConfig" key="textdate" name="textdate"/>
    4141  </displayItemList>
    42   <format>
    43     <gsf:template name="display-full-linked-title">
    44       <gsf:if-metadata-exists>
    45     <gsf:metadata name="Title" select="ancestors"/>
    46     <gsf:if><gsf:metadata name="Title" select="ancestors" separator=": "/>: </gsf:if>
    47       </gsf:if-metadata-exists>
    48       <gsf:link type="document">
    49     <gsf:metadata name="Title"/>
    50       </gsf:link>
    51     </gsf:template>
    52   </format>
     42  <format/>
    5343  <search type="lucene">
    5444    <level name="section">
     
    8676    </td>
    8777    <td>
    88       <xsl:call-template name="display-full-linked-title"/>
     78      <gsf:if-metadata-exists>
     79        <gsf:metadata name="Title" select="ancestors"/>
     80        <gsf:if><gsf:metadata name="Title" select="ancestors" separator=": "/>: </gsf:if>
     81      </gsf:if-metadata-exists>
     82      <gsf:link type="document">
     83        <gsf:metadata name="Title"/>
     84      </gsf:link>
    8985    </td>
    9086      </gsf:template>
Note: See TracChangeset for help on using the changeset viewer.