en:user_advanced:gs3_custom_doc_display
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:user_advanced:gs3_custom_doc_display [2021/05/23 23:24] – kjdon | en:user_advanced:gs3_custom_doc_display [2023/03/13 01:46] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
====== Customisations to Document Display in Greenstone 3 ====== | ====== Customisations to Document Display in Greenstone 3 ====== | ||
- | ==== Image Slider ==== | + | ==== Customizing the Image Slider ==== |
To customize the image slider. Look at the web/ | To customize the image slider. Look at the web/ | ||
Line 13: | Line 16: | ||
<script type=" | <script type=" | ||
</ | </ | ||
- | |||
</ | </ | ||
Line 19: | Line 21: | ||
Note, you can do this for a site, or for a different interface. Just put the document.xsl and custom-document.js into the appropriate folders for site/ | Note, you can do this for a site, or for a different interface. Just put the document.xsl and custom-document.js into the appropriate folders for site/ | ||
- | |||
- | </ | ||
- | Image Slider has a filtering option where you can view just part of the pages. You can choose whether to provide filtering options on the section num or the title using | + | Image Slider has a filtering option where you can view just part of the pages. You can choose whether to provide filtering options on the section num or the title by adding the following to custom-document.js: |
< | < | ||
Line 32: | Line 32: | ||
Then titles will be filtered numerically rather than alphabetically. ie 1 will just display page 1 rather than 1, 10, 11 etc. | Then titles will be filtered numerically rather than alphabetically. ie 1 will just display page 1 rather than 1, 10, 11 etc. | ||
+ | If you only want one filtering method, and you don't want to display the radio button, you can add | ||
+ | < | ||
The default display for each page in the slider is the section number followed by the title. To hide the section number you need to add the following to style/ | The default display for each page in the slider is the section number followed by the title. To hide the section number you need to add the following to style/ | ||
Line 51: | Line 53: | ||
See web/ | See web/ | ||
- | |||
- | |||
en/user_advanced/gs3_custom_doc_display.1621812271.txt.gz · Last modified: 2021/05/23 23:24 by kjdon