Changeset 36515 for documented-examples
- Timestamp:
- 2022-08-26T18:45:43+12:00 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documented-examples/trunk/garish-e/resources/collectionConfig.properties
r36510 r36515 1 1 name=Custom stylesheet demo collection 2 2 3 textdate=publication date :4 textnumpages=no. of pages :5 textsource=source ref :3 textdate=publication date\: 4 textnumpages=no. of pages\: 5 textsource=source ref\: 6 6 7 7 dls.Organization=Organizations … … 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 : \n\20 <pre><xsl :template name="additionalHeaderContent"> \n\21 <xsl :variable name="httpCollection"> \n\22 <xsl :value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/> \n\23 </xsl :variable> \n\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 <xsl\:variable name="httpCollection"> \n\ 22 <xsl\:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/> \n\ 23 </xsl\:variable> \n\ 24 24 <link href="{$httpCollection}/style/style.css" rel="stylesheet" type="text/css"/> \n\ 25 </xsl :template> \n\25 </xsl\:template> \n\ 26 26 </pre> \n\ 27 27 </p> … … 31 31 description4=<p>The default Greenstone CSS style sheets define certain styles for all collections, that are <i>overridden</i> for the collection by defining CSS rules within its new custom stylesheet. It is by linking the CSS file in the Greenstone collection\'s <b>global</b> format statement as above, that the general Greenstone CSS styling rules get overridden at the collection level.</p> 32 32 33 description5=<p>You can quickly learn how to write CSS at <a href="https ://www.w3schools.com/css/default.asp">W3schools</a> and other online sites.</p>33 description5=<p>You can quickly learn how to write CSS at <a href="https\://www.w3schools.com/css/default.asp">W3schools</a> and other online sites.</p> 34 34
Note:
See TracChangeset
for help on using the changeset viewer.