Changeset 36453


Ignore:
Timestamp:
2022-08-22T17:28:36+12:00 (22 months ago)
Author:
anupama
Message:

Updates and corrections to GS3 DEC collection descriptions continued.

Location:
documented-examples/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/garish-e/resources/collectionConfig.properties

    r36446 r36453  
    1717description1=<p>Greenstone 3 uses default stylesheets, which can be overridden for all collections in a site or for any particular collection. This documented example collection covers the last case.</p>
    1818
    19 description2=<h3>How the collection works</h3><p>The <b>global</b> format statement contains a link to the collection's custom stylesheet, which is located inside the collection:</p><pre>\
    20   &lt;xsl:template name="additionalHeaderContent"&gt; \n\
     19description2=<h3>How the collection works</h3><p>The <b>global</b> format statement contains a link to the collection's custom stylesheet, which is located inside the collection: \n\
     20<pre>&lt;xsl:template name="additionalHeaderContent"&gt; \n\
    2121    &lt;xsl:variable name="httpCollection"&gt; \n\
    2222      &lt;xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/&gt; \n\
    2323    &lt;/xsl:variable&gt; \n\
    24     &lt;link href="{$httpCollection}/style/style.css" rel="stylesheet" type="text/css"/&gt; \n\   
     24    &lt;link href="{$httpCollection}/style/style.css" rel="stylesheet" type="text/css"/&gt; \n\
    2525  &lt;/xsl:template&gt; \n\
    26 </pre>
     26</pre> \n\
     27</p>
    2728
    2829description3=<p>Next, a folder named <i>style</i> is created within the collection and a new text file, called <i>custom-style.css</i>, is created within that folder. The css suffix indicates it's a <i>Cascading Style Sheet</i>. CSS files define the look of web pages such as the colours, borders, fonts, heading styles and more. CSS files are just text files, and can thus be edited with any text editor.</p>
  • documented-examples/trunk/gsarch-e/etc/collectionConfig.xml

    r36368 r36453  
    1616        <displayItem assigned="true" dictionary="collectionConfig" key="description5" name="description5"/>
    1717        <displayItem assigned="true" dictionary="collectionConfig" key="description6" name="description6"/>
    18         <displayItem assigned="true" dictionary="collectionConfig" key="description6" name="description7"/>
     18        <displayItem assigned="true" dictionary="collectionConfig" key="description7" name="description7"/>
    1919        <displayItem assigned="true" dictionary="collectionConfig" key="SearchBySender" name="SearchBySender"/>
    2020        <displayItem assigned="true" dictionary="collectionConfig" key="Subject" name="Subject"/>
Note: See TracChangeset for help on using the changeset viewer.