DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Configuration¶
Target group: Developers, Integrators
How to configure the extension. Try to make it easy to configure the extension. Give a minimal example or a typical example.
Minimal Example¶
- It is necessary to include static template Glossary 2 (glossary2)
We prefer to set a Storage PID with help of TypoScript Constants:
plugin.tx_glossary2.persistence {
# Define Storage PID where glossary records are located
storagePid = 4
}
TypoScript Setup Reference¶
Property | Data type | stdWrap | Default |
---|---|---|---|
pidOfDetailPage | Comma separated list of page UIDs | no | |
letters | Comma separated list of letters | no | 0-9, A-Z |
pageBrowser | Array |
Property details¶
pidOfDetailPage¶
Example: plugin.tx_glossary2.settings.pidOfDetailPage = 4
Here you can add one or a comma separated list of Storage PIDs where your glossary records are located.
letters¶
Default: 0-9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
Example: plugin.tx_glossary2.settings.letters = 0-9,A,E,I,O,U
This is a list of allowed entries within the A-Z navigation above the glossary list in frontend. 0-9 is a special entry which can not be divided into single representations.
pageBrowser¶
You can fine tuning the page browser
Example: plugin.tx_glossary2.settings.pageBrowser.itemsPerPage = 15 Example: plugin.tx_glossary2.settings.pageBrowser.insertAbove = 1 Example: plugin.tx_glossary2.settings.pageBrowser.insertBelow = 0 Example: plugin.tx_glossary2.settings.pageBrowser.maximumNumberOfLinks = 5
itemsPerPage
Reduce result of glossary records to this value for a page
insertAbove
Insert page browser above list of glossary records
insertBelow
Insert page browser below list of glossary records. I remember a bug in TYPO3 CMS. So I can not guarantee that this option will work.
maximumNumberOfLinks
If you have many glossary records it makes sense to reduce the amount of pages in page browser to a fixed maximum value. Instead of 1, 2, 3, 4, 5, 6, 7, 8 you will get 1, 2, 3…8, 9 if you have configured this option to 5.