TypoScript 

The TypoScript setup of glossary2 is located below plugin.tx_glossary2. Most values are filled from the site settings or TypoScript constants. Prefer to change these settings instead of overriding the TypoScript setup.

Name Type Default
array Value of setting glossary2.templateRootPath
array Value of setting glossary2.partialRootPath
array Value of setting glossary2.layoutRootPath
string Value of setting glossary2.storagePid
int Value of setting glossary2.pidOfDetailPage
string or array empty (Use value of Extension Settings as fallback)
bool 1
bool 1
int Value of setting glossary2.pageBrowser.itemsPerPage (10)
string TYPO3CMSCorePaginationSimplePagination

View 

view.templateRootPaths
Type
array
Default
Value of setting glossary2.templateRootPath

You can override our Templates with your own SitePackage extension. We prefer to change the setting glossary2.templateRootPath.

view.partialRootPaths
Type
array
Default
Value of setting glossary2.partialRootPath

You can override our Partials with your own SitePackage extension. We prefer to change the setting glossary2.partialRootPath.

view.layoutRootPaths
Type
array
Default
Value of setting glossary2.layoutRootPath

You can override our Layouts with your own SitePackage extension. We prefer to change the setting glossary2.layoutRootPath.

Persistence 

persistence.storagePid
Type
string
Default
Value of setting glossary2.storagePid

Set this value to a Storage Folder (PID) where you have stored the records. A comma-separated list of folders is possible. We prefer to change the setting glossary2.storagePid.

Example: plugin.tx_glossary2.persistence.storagePid = 21,45,3234

Settings 

settings.pidOfDetailPage
Type
int
Default
Value of setting glossary2.pidOfDetailPage

Example: plugin.tx_glossary2.settings.pidOfDetailPage = 84

Often it is useful to move the detail view onto a separate page for design/layout reasons.

settings.templatePath
Type
string or array
Default
empty (Use value of Extension Settings as fallback)

Example:

TypoScript setup
plugin.tx_glossary2.settings.templatePath = EXT:events2/Resources/Private/Templates/Glossary2.html
Copied!

With this setting you can override the default templatePath of glossary2 and defined templatePaths coming from foreign extensions. So TypoScript settings have highest priority.

We also have implemented a more complex setting for templatePath:

TypoScript setup
plugin.tx_glossary2.settings.templatePath {
  default = EXT:glossary2/Resources/Private/Templates/Glossary2.html
  events2 = EXT:events2/Resources/Private/Templates/Glossary2.html
  yellowpages2 = EXT:yellowpages2/Resources/Private/Templates/Glossary2.html
}
Copied!

default will be used, if no templatePath for a given ExtensionKey was found.

settings.glossary.mergeNumbers
Type
bool
Default
1

Example: plugin.tx_glossary2.settings.glossary.mergeNumbers = 0

Merge record titles starting with numbers to 0-9 in glossary.

settings.pageBrowser.itemsPerPage
Type
int
Default
Value of setting glossary2.pageBrowser.itemsPerPage (10)

Example: plugin.tx_glossary2.settings.pageBrowser.itemsPerPage = 20

Reduce result of records to this value for a page

settings.pageBrowser.class
Type
string
Default
TYPO3CMSCorePaginationSimplePagination

Class name of the pagination used in the list view. See Pagination for an example how to use another pagination.