Changeset 36453 for documented-examples
- Timestamp:
- 2022-08-22T17:28:36+12:00 (20 months ago)
- Location:
- documented-examples/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
documented-examples/trunk/garish-e/resources/collectionConfig.properties
r36446 r36453 17 17 description1=<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> 18 18 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 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: \n\ 20 <pre><xsl:template name="additionalHeaderContent"> \n\ 21 21 <xsl:variable name="httpCollection"> \n\ 22 22 <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/> \n\ 23 23 </xsl:variable> \n\ 24 <link href="{$httpCollection}/style/style.css" rel="stylesheet" type="text/css"/> \n\ 24 <link href="{$httpCollection}/style/style.css" rel="stylesheet" type="text/css"/> \n\ 25 25 </xsl:template> \n\ 26 </pre> 26 </pre> \n\ 27 </p> 27 28 28 29 description3=<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 16 16 <displayItem assigned="true" dictionary="collectionConfig" key="description5" name="description5"/> 17 17 <displayItem assigned="true" dictionary="collectionConfig" key="description6" name="description6"/> 18 <displayItem assigned="true" dictionary="collectionConfig" key="description 6" name="description7"/>18 <displayItem assigned="true" dictionary="collectionConfig" key="description7" name="description7"/> 19 19 <displayItem assigned="true" dictionary="collectionConfig" key="SearchBySender" name="SearchBySender"/> 20 20 <displayItem assigned="true" dictionary="collectionConfig" key="Subject" name="Subject"/>
Note:
See TracChangeset
for help on using the changeset viewer.