en:user_advanced:gs3_custom_doc_display
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
en:user_advanced:gs3_custom_doc_display [2015/11/26 23:04] – external edit 127.0.0.1 | en:user_advanced:gs3_custom_doc_display [2016/08/21 22:19] – kjdon | ||
---|---|---|---|
Line 17: | Line 17: | ||
This adds your new javascript file into the page. | This adds your new javascript file into the page. | ||
+ | |||
+ | 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, if you are adding document.xsl to a new interface, then you should replace // | ||
+ | </ | ||
+ | |||
+ | |||
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 using | ||
Line 22: | Line 29: | ||
This tells which radio buttons to display. Can leave both there or just have one. | This tells which radio buttons to display. Can leave both there or just have one. | ||
+ | |||
If titles are numeric, add in | If titles are numeric, add in | ||
< | < | ||
Line 34: | Line 42: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | To hide the Title (and only display the number), change span.tocSectionNumber to span.tocSectionTitle in the above code. | ||
+ | |||
You can include the style.css file in the page by overriding the additionalHeaderContent-collection template. | You can include the style.css file in the page by overriding the additionalHeaderContent-collection template. | ||
Can add this in to a template file, eg into the document.xsl file mentioned above. Or it can be added in to the etc/ | Can add this in to a template file, eg into the document.xsl file mentioned above. Or it can be added in to the etc/ |
en/user_advanced/gs3_custom_doc_display.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1