en:user:gs3_sample_interface_modifications
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:gs3_sample_interface_modifications [2016/05/12 02:08] – kjdon | en:user:gs3_sample_interface_modifications [2019/09/24 00:33] – [Total documents in library] kjdon | ||
---|---|---|---|
Line 3: | Line 3: | ||
This page provides examples of interface modifications. Many of these changes can be made at either the collection, interface or site level. | This page provides examples of interface modifications. Many of these changes can be made at either the collection, interface or site level. | ||
- | ===== General | + | See the [[en: |
+ | |||
+ | ==== Changing the collection description | ||
+ | |||
+ | The collection' | ||
+ | |||
+ | The place where the description gets printed out is in the about page XSL: web/ | ||
+ | |||
+ | There is a template called coll-description: | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | Lets leave the collection description displayed as is, but output "This collection contains X documents, and was last built on Y". | ||
+ | |||
+ | We can redefine the template as: | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | The collection contains < | ||
+ | built on < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | The buildDate metadata element is a timestamp, so is not user friendly. We can use one of our utility functions to format it. | ||
+ | |||
+ | ==== Total documents in library ==== | ||
+ | |||
+ | The above section shows how to add "this collection contains X number of documents" | ||
+ | |||
+ | We can add up all the numDocs from each collection using ' | ||
+ | |||
+ | < | ||
+ | < | ||
+ | .... | ||
+ | < | ||
+ | / | ||
+ | < | ||
+ | |||
+ | < | ||
+ | select=" | ||
+ | .... | ||
+ | </ | ||
+ | </ | ||
==== Footer modification (text on left, image on right) ==== | ==== Footer modification (text on left, image on right) ==== |
en/user/gs3_sample_interface_modifications.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1