source: documented-examples/trunk/style-e/resources/collectionConfig.properties

Last change on this file was 38974, checked in by kjdon, 7 weeks ago

modified the description so that most of the HTML is not included in hte translatbale fragments

File size: 3.5 KB
Line 
1name=CSS Demo
2textdate=publication date\:
3textnumpages=no. of pages\:
4textsource=source ref\:
5section_chapter=chapter
6document_book=book
7
8dls.Organization=Organizations
9dls.Subject=Subjects
10index_text=Text
11index_document=Book
12index_section=Chapter
13dls.Titles=Titles
14dls.Keyword=How to
15
16choose-style=Choose a style:
17style.default=Default Greenstone
18style.blue=Blue
19style.olive=OlivePurple
20style.none=None
21
22style.extra=Default Greenstone Extra
23shortDescription=This collection demonstrates Greenstone's use of Cascading Style Sheets (CSS) for visual formatting in web browsers.
24
25description1a=This collection demonstrates Greenstone's use of Cascading Style Sheets (CSS) for visual formatting in web browsers. On every page, you can change the style-sheet in effect, to modify that page's appearance. This collection contains the same material as the original Greenstone demo collection.
26
27description1=<p>A combination of JavaScript and the overriding of XSL templates is used by the collection to provide the stylesheet switching. As in some other <i>Documented Example Collections</i>, GLI's <tt>Format &gt; Format Features &gt; global</tt> can be used to define the <b>additionalHeaderContent-collection</b> template. Doing so overrides the existing <i>additionalHeaderContent-collection</i> template, and appends any specified HTML elements to the HTML header. However, for this collection, we have chosen to add these templates to a custom header.xsl file, located in the collection's transform/layouts folder. Editing this file doesn't require reloading the collection in the library, which is needed if you edit collection formats in GLI.</p>
28
29description1b=<p>Note, the <i>additionalHeaderContent</i> template is defined in web/interfaces/default/transform/layouts/header.xsl, and it comprises 4 templates: <i>additionalHeaderContent-page</i>, <i>additionalHeaderContent-interface</i>, <i>additionalHeaderContent-site</i> and <i>additionalHeaderContent-collection</i>. These can be overridden at the page, interface, site and collection level, respectively. This allows fine grained tuning of the page headers.</p>
30
31description2=<p>In this case, the <b>additionalHeaderContent-collection</b> specifies the custom collection stylesheet currently active and the JavaScript to facilitate the stylesheet switching when a link is clicked. The <b>create-banner</b> XSL template is also overridden to provide links to the multiple stylesheets within the existing GS3 banner section, and invoke the custom JavaScript when any link is clicked. </p>
32
33description3=If you want to download any of these stylesheets for your own collections, here are links to them\:
34description3a=builds on top of GS3's default style
35description3b=modifies the GS3 default style for a blue colouring
36description3c=modifies the GS3 default style for a vivid colouring of vine green and purples
37description3d=clears all CSS styling from the current page (needs reload to get the default GS3 style back)
38
39description4=Using a downloaded stylesheet
40description4a=To use a stylesheet as the default, place it in greenstone/web/interfaces/default/style and rename it to <tt>style.css</tt>. This will affect all collections.
41description4b=To use a stylesheet for a particular collection, place it in <tt>greenstone/web/&lt;sitename&gt;/localsite/collect/&lt;collection&gt;/style</tt> then specify the stylesheet link in the <b>additionalHeaderContent-collection</b> of GLI's <i>global</i> format statement (<tt>Format &gt; Format Features &gt; global</tt>) as follows\:
Note: See TracBrowser for help on using the repository browser.