en:user:interfaces
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:user:interfaces [2019/09/22 23:24] – kjdon | en:user:interfaces [2019/09/23 00:02] – [How to change just one template] kjdon | ||
---|---|---|---|
Line 42: | Line 42: | ||
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==== |
en/user/interfaces.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1