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 revision | ||
| en:user:gs3_sample_interface_modifications [2020/04/24 10:33] – anupama | en:user:gs3_sample_interface_modifications [2023/03/13 01:46] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | |||
| + | |||
| ====== Sample Greenstone3 Interface Modifications ====== | ====== Sample Greenstone3 Interface Modifications ====== | ||
| Line 177: | Line 180: | ||
| - | ====== Changing the header background on classifier and document pages ====== | + | ==== Changing the header background on classifier and document pages ===== |
| Getting the gs_banner background in the header to change based on the browsing classifier page loaded, or at random for each document page loaded, can be achieved by a combination of XSL and javascript at the collection level. | Getting the gs_banner background in the header to change based on the browsing classifier page loaded, or at random for each document page loaded, can be achieved by a combination of XSL and javascript at the collection level. | ||
| Line 189: | Line 192: | ||
| 3. Unless it already exists, use a text editor to create a file called '' | 3. Unless it already exists, use a text editor to create a file called '' | ||
| - | - Paste the following code into it: | + | a. Paste the following code into it: |
| < | < | ||
| Line 209: | Line 212: | ||
| }); | }); | ||
| </ | </ | ||
| - | - Adjust the line of code '' | + | |
| - | | + | b. Adjust the line of code '' |
| + | |||
| + | c. If the file extension of all your images is anything other than '' | ||
| 4. Unless it already exists, use a text editor to create a file called '' | 4. Unless it already exists, use a text editor to create a file called '' | ||
| Line 217: | Line 222: | ||
| * loads an image of your choice from your collection' | * loads an image of your choice from your collection' | ||
| * refers to the '' | * refers to the '' | ||
| - | If your collection didn't have its own '' | + | If your collection didn't have its own '' |
| < | < | ||
| Line 256: | Line 261: | ||
| < | < | ||
| For example, if your collection folder is called " | For example, if your collection folder is called " | ||
| - | |||
en/user/gs3_sample_interface_modifications.1587724405.txt.gz · Last modified: 2020/04/24 10:33 by anupama
