source: documented-examples/trunk/garish-e/resources/collectionConfig.properties@ 36621

Last change on this file since 36621 was 36621, checked in by anupama, 20 months ago

Commit 2/2 Escaping apostrophes again in English collectionConfig.properties this time. (Other than French and English, no other language files were affected.) Previous commit message: Previous set of related commits were a big mistake. The apostrophes needed escaping in the collectionConfig.properties after all, because GTI won't even load entire translation chunks where apostrophes aren't escaped. So it may be ugly that GTI presents them unescaped, but at least it presents them when the apostrophes are escaped with Backslash.

File size: 2.2 KB
Line 
1name=Custom stylesheet demo collection
2
3textdate=publication date\:
4textnumpages=no. of pages\:
5textsource=source ref\:
6
7dls.Organization=Organizations
8dls.Titles=Titles
9dls.Keyword=How to
10dls.Subject=Subjects
11index_text=Text
12index_document=Book
13index_section=Chapter
14
15shortDescription=<p>This demonstration collection contains the same material as the original Greenstone demo collection, but its appearance has been altered slightly using a custom stylesheet.</p>
16
17description1=<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
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\
21 &lt;xsl\:variable name="httpCollection"&gt; \n\
22 &lt;xsl\:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/&gt; \n\
23 &lt;/xsl\:variable&gt; \n\
24 &lt;link href="{$httpCollection}/style/style.css" rel="stylesheet" type="text/css"/&gt; \n\
25 &lt;/xsl\:template&gt; \n\
26</pre> \n\
27</p>
28
29description3=<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>
30
31description4=<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
33description5=<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
Note: See TracBrowser for help on using the repository browser.