en:user:interfaces
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:user:interfaces [2019/09/22 23:24] – kjdon | en:user:interfaces [2023/03/13 01:46] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | |||
| + | |||
| ======Customizing the Greenstone 3 interface ====== | ======Customizing the Greenstone 3 interface ====== | ||
| Format statements in the collection configuration files provide a way to change | Format statements in the collection configuration files provide a way to change | ||
| Line 42: | Line 45: | ||
| before transformation by a stylesheet. This shows you the XML page source. It | before transformation by a stylesheet. This shows you the XML page source. It | ||
| can be useful when you are trying to write some new XSLT statements. | can be useful when you are trying to write some new XSLT statements. | ||
| + | |||
| + | ==== How to change just one template ==== | ||
| + | |||
| + | You might like to make changes to the interface, but restrict them to a subset of the library. There are different ways to change a template. | ||
| + | For example, suppose we wanted to change what gets displayed on the about page for the collection description. If we look at the transform/ | ||
| + | < | ||
| + | < | ||
| + | .... | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | We might decide that we don't want the default behaviour for the coll-description template and we want to change it. | ||
| + | |||
| + | - Edit the XSL file in web/ | ||
| + | - Edit the XSL file in web/ | ||
| + | - Edit the XSL in web/ | ||
| + | |||
| + | The new about.xsl file doesn' | ||
| + | |||
| + | For example, this might be the collection' | ||
| + | < | ||
| + | <?xml version=" | ||
| + | < | ||
| + | xmlns: | ||
| + | xmlns: | ||
| + | xmlns: | ||
| + | xmlns: | ||
| + | extension-element-prefixes=" | ||
| + | exclude-result-prefixes=" | ||
| + | |||
| + | |||
| + | | ||
| + | < | ||
| + | displayItem[@name=' | ||
| + | < | ||
| + | metadataList/ | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | </ | ||
| ==== Changing the interface language==== | ==== Changing the interface language==== | ||
| Line 167: | Line 215: | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | * [[en: | ||
en/user/interfaces.1569194655.txt.gz · Last modified: 2019/09/22 23:24 by kjdon
